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

neweyfixedb and testfixedb commands, where did they go?

Hello, I knew that used to exist these commands (neweyfixedb, testfixedb) to run a time series regression with Newey-West standard errors but with the fixed b critical values developed by Vogelsang...

View Article


Using firthlogit after multiple imputation

I have a dataset of 32 subjects with 4 variables, and 4 missing data points for one variable. I am performing logistic regression, and given the small dataset would like to do some sort of penalized...

View Article


generating variable to identify siblings using longitudinal data

My data set has 8 time points, and includes households with multiple children (singletons, twins, or 2-3 siblings). Households are identified by hhid, children are identified by childid. Age is...

View Article

time series independent and panel data dependent

Hi Statalisters I have three independent variables (Rm-Rf, SMB and HML) Fama-French variables in time series form (each 251 time points) and returns variables in unbalanced panel data form (1500 firms...

View Article

outreg or outreg2 for bayesmh

Does anyone know of any post-estimation commands similar to outreg or outreg2 that create publication quality tables, that can be run following estimation using bayesmh? I would be interested in any...

View Article


Making reshape faster

I'm not the first to notice that the reshape command can be unnecessarily slow. In a big program I'm finding that the reshape command is taking a substantial fraction of the runtime, and that I can...

View Article

New computer with an old STATA license?

I bought and installed Stata 12 for Mac when it was released a few years ago. Licence type: single user. That laptop no longer functions. I have now purchased a Mac Book Air and would like to use this...

View Article

efgtgr command-poverty elasticity

Dear All, First of all thank you for your post. Given datasets for Period 1 and Period 2 of household surveys, negative (positive) growth in income between the periods (all else equal) to leads to rise...

View Article


coefplot, margins, and est store - not storing all partial derivatives

When I use coefplot, it is only capturing the marginal effects for one level of the unordered categorical variable (control2015). Code: reg govindex2015 ib1.control2015 c.personalsafety2015...

View Article


Two-step System GMM: AB autocorrelation test, matrix singularity, Hansen and...

Dear all, I am working on my research to analyze the determinant of life insurance in Asia-Pacific. I used GWP/GDP as the dependent variable called "life". The Independents are income, inflation (cpi),...

View Article

How to destring time

Dear all, I am trying to destring time variable but it's not successful.Please help me clear input str6 time_interview_started "12:50:" "03:06:" "12:20:" "12:21:" "12:37:" end

View Article

Error Term in Random Effect Model

Dear Stata Members I need help in interpreting the error terms for random effect GLS estimation. The questions are: 1. How to interpret the panel level standard deviation (Panel level standard...

View Article

twoway line simple problem

Dear All, I am trying to use twoway line Suppose I have data of the following type: id year returns 1 2000 20 1 2001 30 1 2002 50 1 2003 40 1 2004 30 1 2005 20 2 2000 10 2 2001 30 2 2002 50 2 2003 40 2...

View Article


MS Excel's SUMIFS equivalent in STATA

Hello, I'm looking for an equivalent in STATA to MS Excel's SUMIFS function. I have a database which includes prices, quantities and market shares of many products which were sold in different regions,...

View Article

Help with the choice of proper panel model by the characteristics of the...

Hi everyone! Please, could anyone help me to define my model property according to characteristics of the disposable data. It is a panel data with a missing data. N = 43, T = 20 Dependent variable: gdp...

View Article


Rolling Window Regressions

Hi everyone, I would like to get some answers to the doubts I have with regard to the rolling command. First of all, I will explain what I want to get with the rolling window regressions. I have 9,630...

View Article

Generating neighbors' values for panel data

Hi All: I have a problem where I have a (balanced) panel data set, and each cross-sectional unit in the data set comes with two neighbors, contained in the variables nb1 and nb2 (although some neighbor...

View Article


SEM - Time-dependent explanatory variable in latent growth model

Hello, I am using the SEM procedure to build a latent growth model for longitudinal data (repeated variable = cog at times 0, 1, and 2). I am able to include baseline covariates (eg sex in the example...

View Article

Matching names of two variables.

i have two lists of names. one is in the master data set and the other is just a list of names. i need to find these names in the master data set. I've tried merging on the specific variable to no...

View Article

Fixed effects model with heteroskedascity and serial correlation

Dear statalist, ​This question might be easy to answer for some of you but I have searched online and I do not seem to find an answer. I am running a FE model and I'm clustering to reduce the problem...

View Article
Browsing all 72758 articles
Browse latest View live


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