Quantcast
Channel: Statalist
Browsing all 65121 articles
Browse latest View live

Multicollinearity in a fixed effects panel regression - difference in...

So I am having a multicollinearity issue with my current regression. I have a panel data of GP practice QOF scores from 2012-2015 and am using ,fe to calculate practice fixed effects. I have included a...

View Article


computing the OR for a multi-unit (ie 10) increase in a continuous variable

Hello, I have a coding question. For example, I have a logistic regression model, with a continuous explanatory variable "age". The OR in the output represents the OR for a one-unit (one-year) increase...

View Article


Cost of equity: st-view do not generate results

Hi everyone, I'm running code using Mata, however, I don't understand why Mata do not generate the results for all of my observations. In fact, as you can see in the data I provide below, the gls...

View Article

alternative invariant endogenous variable in conditional logit

Dear all, I have a case-control sample in which one case has several alternatives and only one will be chosen. My main analysis is a conditional logit model, in which Zi is an endogenous variable...

View Article

Identifying missing occurrence in unbalanced panel

I have an unbalanced panel dataset (Dataset 1) consisting of 11,000 firms and 78,000 observations over the period 1991-2007. From this larger dataset, I create a smaller unbalanced panel consisting...

View Article


Multiple variables

Hi there, Looking for advice for running frequency tables with multiple variables. This is an example of two columns of representing different medical devices, in each is the binary value of the...

View Article

Choosing the minimum from several scalars (Information criteria for model...

Hello. How can I choose the min value between several scalars? I'm trying to select the best model based on the information criteria. For this, I do a forvalue and I'm asking STATA to store the values...

View Article

Forvalues or foreach loop

Hi all, I want to run either of the following two regressions: Code: newey RV IV if Cusip==1, lag(19) Code: reg RV IV if Cusip==1 My sample consists of 208 firms. This means there are 208 'Cusips' in...

View Article


Intensive and Extensive Margins (Hummels and Klenow, 2005)

I would like to discuss some questions about the commands of Intensive and Extensive Margin (Hummels and Klenow, 2005)in Stata. In my database I have the value of exports (tradevalue) of 5000 varieties...

View Article


Merging one to many and generating new variables for the multiple observations

Hello Stata Lovers, I'm wondering whether there is a way to generate new variables that capture data from merges of one to many. I would also want to make sure the variables are in a certain order....

View Article

interpreting stata output for multi level xtmelogit command

Hi, I am implementing a multi level model in Stata.I have some questions regarding interpreting the output specifically analyzing the random effects at individual and country level. The dependent...

View Article

Residual plot after logistic regression. What is wrong?

Dear all, I am running a logistic regression and want to check for influential observations. To do that, I plot the standardized residuals for each paricipant. The plot seems a little strange, since...

View Article

Estimating a Rolling Probit model ?

Hi all, I want to run a rolling regression using a probit model for a fixed window of 20 quarters, and then estimate the fitted and residual values for the last observation in the window. I have a time...

View Article


Chi-Squared Test

Hello Everybody, I have a question regarding the chi squared test. In an experiment, I would like to test if the frequencies are equivalent from the firs to the final round. N=30, n=60 $-Bet Chosen...

View Article

Issue updating to stata 14.1

Hi all, I am updating my stata from 14 to 14.1 and having some issues. I typed "update all" and wen it says downloading documentation files, it randomly stops, says "unexpected end of file" and...

View Article


Parallel computing with Stata/MP 14.1 and parallel package: invalid...

Dear Statalisters, first, apologies for my rudimentary understanding of Stata as I only recently started using it. I am working with an unbalanced panel dataset of monthly observations over the horizon...

View Article

Understanding the r-operator for -mixed- models

Dear all, I would like to fit a random effects model with a categorical predictor variable and random coefficients for this categorical predictor variable--pretty much like the following: Code: webuse...

View Article


multiple imputation (MI) on panel data, without the reshape of data to wide...

Hi everyone, This is just a general question. Is there a way to do MI on panel, without converting data from long to wide dataset format? On the web, I found that it is possible to do it only on the...

View Article

NLSUR test

Hi, I'am estimating a NLSUR system of equations and i need to prove that some linear combination of parameters are greater than 0. I try to use the test and testparm but I could not apply them, ¿those...

View Article

How to export Summary STATISTCS for publication style to Word

Dear Stata users, I am trying to export summary statistics table from stata to word. I know how to do it from stata to Latex but I have no idea how to do it to word. Could you please help me out with...

View Article
Browsing all 65121 articles
Browse latest View live