Quantcast
Channel: Statalist
Browsing all 72773 articles
Browse latest View live
↧

Sample Selection Bias in survey-based studies

Dear experts, in my previous post I explained my research proposal a little more in detail. Since I have evaluate certain firm resources upon firm performance, I find a "standard" OLS regression...

View Article


Regression with continuous dependent variable with ordinal independent variables

Hello, Given a dependent continuous variable and multiple independent ordinal variables (such as from a likert scale), how do I fit a regression model? I have seen a similar forum for R but I am not...

View Article


Exporting variable names and corresponding labels

Hey, Is there a way in STATA to export variable names and corresponding labels? I tried a few things with the "Export" and putexcel options and am not getting the right output. Any help would be...

View Article

Trying to use foreach and if to define a local

Hi Stata users I now have three days of experience with Stata and I really like the program so far. I have now run into a problem that I can't figure out how to solve, and I'm hoping one of you can...

View Article

running post-estimation commands on stored models

Hi there I have stored a number of model estimates into Stata's memory: streg i.var1 i.var2 i.var3 i.var4, d(exp) est store A streg i.var1 var2 var3 i.var4, d(exp) est store B etc... I want to run the...

View Article


Endogenous count variable

Consider two different models. (1) DV of a duration (a length of time in minutes) (2) DV is a frequency (a count) Their regressors are: (1) volume1 volume2 and countR, where countR is endogenous (2)...

View Article

Summing across numerous variables if observation equals a specific value

Hey! I have 9 different variables that I want to sum up. But I only want to sum the 1's. I tried: egen new_varname = rowtotal(var1-var9) if var1-var9==1 But that is giving me missing values since not...

View Article

recoding sequence of variables to create total score (Griffiths Mental...

Hi! I need to recode some developmental data from a scale called Griffiths Mental Development Scales for over 400 children. Each subscale includes in 90+ items, and the database is at the item level....

View Article


How to open a ".mlib" files with Stata?

Dear all, I installed an online Stata code (mergersim) in Stata 11. The program consists several files which were installed in C:\ado\plus\m and C:\ado\plus\l. One of the files is a ".mlib" file. I'm...

View Article


Regressors and Hausman test

Hello everybody, I would really appreciate your help. I estimated a model with OLS, however two variables (attendance at lectures and attendance at seminars) were suspected of being endogenous....

View Article

estimate weighted cross-classified models

Dear all, Is the function xtmixed able to incorporate sampling weight to estimate cross-classified models? If it is able to, could you kindly direct me to the source? Thanks. Ling

View Article

Comparing Characteristics of Ads in Two Different Years

Hello! Many thanks in advance for any help. I am working on a thesis where I am comparing characteristics of ads in 1975 and 2015. I am looking at characteristics such as "Woman has Utilitarian Grip"...

View Article

2-way cluster using logit2 by Peterson - way to get marginal effects?

My question is similar to one that was posted a while back but unanswered: http://www.stata.com/statalist/archi.../msg00196.html I am using the logit2 ado file by Peterson (at...

View Article


regress the stock returns on a constant

Hi guys, I am hoping to get some help. I have a list of 20 companies' stock returns over the last 12 months and I would like to regress the stock returns on a constant. How can I achieve that ? Then...

View Article

Image may be NSFW.
Clik here to view.

ANOVA and Post-hoc estimates using data including multiple imputations

Dear all, once more, multiple imputation is the bane of my existence I hope somebody can help me with what started out as a small little calculation. I couldn't find much info on the web and the one I...

View Article


Counting events in event study

Dear all I have a dataset looking like this: Date Company_id event date estimation_window event_window event_id 2015-01-01 1 1 1 2015-01-02 1 1 1 2015-01-03 1 1 2015-01-04 1 1 1 2015-01-05 1 2015-01-05...

View Article

scatteri options

I am graphing 3 way interaction based on plotting points derived from calculating the adjusted mean value of peer support (y) for Black and White males and females at 2 different values of SES (4...

View Article


Case-crossover study: conditional logistic regression

I have data from a case-crossover study. Prescription data on whether individuals have a given prescription at time 1 (yes/no) and time 2 (yes/no). I am interested in a within person analysis. I also...

View Article

cmp : Bivariate ordered probit and conditional probabilities

Dear all, I regress a bivariate ordered model using cmp. After my regression, I would like to compute the conditional probabilities Pr(y2=x|y1=z), with y1 the first equation and y2 the second one and...

View Article

Simple: creating one label for many values, not dataset or variable

I was not able to find this in help: How can I create one label for several values in one variable. Example: I need NAICS codes 31-35 in variable SECTOR to have one label "Manufacturing". When I follow...

View Article
Browsing all 72773 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>