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

Linear Probability Model on unbalanced panel with dummy dependent variable

Dear all, I am new to Stata. I am analyzing a dataframe made on a survey. The survey is conducted every two years and it is about complementary pension; my answer is about the commands that I should...

View Article


Detecting bubbles. PSY method (Generalized sup ADF)

Hello. Does anyone know how to perform these tests for the detection of bubbles in STATA? http://cowles.yale.edu/sites/default.../d19/d1914.pdf There is already an add-in for E-Views. I wondered if...

View Article


Sample size calculation taking into account contamination of exposure variable

Hi guys, just learning the ropes with STATA over the last few months but I've hit a stumbling block. I want to make two different sample size calculations:first one relates to a cohort study endpoint...

View Article

How to get vif after running mixed model command

How Can I get VIF after running a -mixed- model command? The command -vif- only works with -regress-. Thanks

View Article

Help with "or" statement

I'm working with some employment data and am trying to find to identify regions that experience spikes in employment. I'm relatively new to Stata and I'm sure there's a more elegant way of doing this,...

View Article


table with t-stat

Hello Statalist, I have a simple question. I want to create a table output that will have the following columns: Column 1: Mean if x=0 Column 2: Mean if x=1 Column 3: T-statistic for differences in...

View Article

MarkDoc (GitHub) bug: Cannot use directory paths on tex for Windows

I am unable to use the user-written program markdoc (GitHub) for directory paths on tex. I am using MarkDoc version 3.9.2 on Windows 7. I first reported markdoc to be incompatible with cd "C:/temp" on...

View Article

Removing leading 0's in variable names to convert wide form to long form...

Hello, I'm quite frustrated with a few different efforts I have made to convert my variables from wide-form to long-form. I have a labour panel database that has over 800 variables for 3 waves....

View Article


Variable id does not uniquely identify the observations- error in reshape...

Dear all, I am new to the forum and I hope to meet all the rules correctly. after spending a whole day reading papers/help files and forum entries I finally would like to ask for help here. I am using...

View Article


Combining Binary variables into one Categorical Variable

I'm very new to Stata and need some help. How might one take a series of 10 binary variables (1, -) and join them together to create a single categorical variable with values from 1 to 10 corresponding...

View Article

-mi xeq 0 : summarize- takes surprisingly long

Following the example in the -mi predict- manual entry, I am doing the following to summarize predicted probabilities following a multiply imputed -logit- model; one difference from the example is that...

View Article

Confusion about ARIMA with interrupted time series / segmented regression

Dear all, I am a new statalist user. I think I want to use arima model but I am unsure if it is ok for interrupted time series with deterministic trend and I have some difficulties in interpreting...

View Article

help for dynamic panel with threshold

I have the same problem of Valeria Frigerio (11/11/2014). I can't write for myself the stata code. so can anyone give me the code or a hint on how I could estimate a dynamic panel model with an...

View Article


Median Unbiased Estimators Laubach Williams

Hello everyone I have been trying to replicate the Laubach and Williams paper: Measuring the Natural Rate of Interest. Link:http://www.frbsf.org/economic-resear.../wp2016-11.pdf I have already been...

View Article

Identify first observation in panel data and create categorical and binominal...

Hello, could you, please, help me with data management in Stata. I need to do survival analysis and have the data like this: PatientN 0 12 24 36 48 60 72 84 96 108 120 1 38,0 38,1 38,6 37,6 38,0 37,2...

View Article


Modelling speed through Cox proportional hazards model

Dear members, I am interested to investigate how organizational size (time-variant) affect the speed of first sale by cohorts of new organizations. I was planning to use a Cox proportional hazards...

View Article

Penalized Multinomial Logit in Stata: Has anyone seen this?

Hello all, I am running a multinomial logistic regression using the mlogit command, but have run into quasi-perfect separation in one of my key predictors. Empirical methods exist for conducting...

View Article


Statistical significance in higher order model

Dear all, I am working on a project where I try to model a variable cost function for vessels that participate in a fishery. I take as a point of departure microeconomic theory - I would assume that...

View Article

Deleting elements of a string file (see example)

Dear Stata Users, I am facing a problem cleaning and creating a column for the following type of dataset. Example Name Rawdata (All in one column) Mr. X TA01012C110001105F11374 0982P001FINANCE SYS...

View Article

Generating panel model

Dear experts, Hi, I am trying to generating panel model yit = 0.1yit-1 + x1it + x2it + zi + uit where yi0 ~ N (0,1), uit ~ N(0,1), z ~ N(0,1) t=1,...,20 The problems I am facing are, (a) how can I...

View Article
Browsing all 65033 articles
Browse latest View live


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