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

Exporting tables produced with -tabcount-

Dear all, I have been using -tabcount- to produce frequency tables mainly because I need the zero frequencies to be included. Unfortunately, I cannot see any way to export these tabcount tables into...

View Article


conducting a group mean

Dear statalisters, I am aware that the solution to my question might be really easy, but I am searching the web for over a day by now and I still can't find the answer, so I really hope that you can...

View Article


count of experiences using a moving 5yr window

Hello! I am working with data on M&A. I am trying to calculate the number of times a certain type of acquisition experience (coded as a dummy) occurs but only when it occurs within 5 years prior to...

View Article

Detection and removal of same year announcements

Dear statalisters, I have searched the internet and forums extensively, but can't find the answer I'm looking for. Hopefully you can help me out. My objective: Exclude firms that announce (share...

View Article

stmixed does not work

Dear All, I'm trying to fit a Flexible Parametric Model by using -stmixed- (ssc install stmixed, replace) in W10 (Stata 14). The code is the following : stmixed BP DM Gender || Country:, df(3) d(fpm)...

View Article


Commands for rank testing

I am drawing random observations from various ordered populations and for each draw I am recording the rank of each observation (1 through n) with respect to the total population size for that draw...

View Article

Large database: op. sys. refuses to provide memory

Hello, my database is 19GB, I'm using Stata 12 SE and my computer is windows 7 - 64 bits 3GB RAM. I´m trying to load this large database in stata and the program shows this: op. sys. refuses to provide...

View Article

Interpreting time ratios in ATF models (streg)

Hello, I read a post from Robert Gutierrez on the interpretation of time ratios in accelerated failure time (AFT) models which really confused me. http://www.stata.com/statalist/archi.../msg00698.html...

View Article


econometrically correct MODEL???

Hello statalisters, I would like to ask if what I have done with this model makes sense, its an OLS model: Where une_rt_a = unemployment rate, lagune_rt_a = lagged unemployment : reg $ylist lagune_rt_a...

View Article


Help with error: interactions not allowed

I am using the xtlsdvc command (bias corrected least squared dummy variable). When I am running the code, I am getting an error that interactions are not allowed. I would have manually generated new...

View Article

Simple stata question..

I have looked at archive upon archive regarding this, tried about 40 different things and I still can't get this. I'm very new to Stata All I want to do is generate a new variable that contains the max...

View Article

Quantile regressions - coefficients near zero at median

Hi all, I'm running quantile regressions for the first time and getting some funny-looking results - I'm just hoping I haven't missed anything obvious like an option I should be specifying or something...

View Article

Comparing coefficients over pre, during and after sub-samples

Hi, can I check what is the most appropriate way to compare coefficients estimate (for interpretation) for sub-samples of pre, during and after GFC periods? The same model eg. "reg y x" is run on on...

View Article


Three stage heckprob model or triple hurdle model

Hey guy, I have dataset which is biased due to two selection criteria(hurdles). Now I would like to know whether it is possible to do a heckprob model with 2 selection criteria or a triple hurdle model...

View Article

xtmelogit and cluster

Hello, I work on health data. My model is a logit model with hospital random effect and cluster of patient residence. I then use the following command: "Xtmelogit y x1 x2 ... || hospitals: covariance...

View Article


calculating hit rate after logistic regression

hi, I'd like to know how to calculate hit rate after a logistic regression. I have used the survey set in my data. Also, in terms of checking the predictive power of logistic model, is there any...

View Article

Ommited residual variable

Please help me. I run a long run levels model, obtained residuals using the "predict r, resid" command. Then i ran an ECM model including a lagged residual variable. When i ran an ECM the residual...

View Article


Timeline graph for presentation

Hello I just wasted a day trying to get excel to make me a timeline. I have failed. I have four registries for every registry there are 3-4 dates of interest. So i have the following Reg_var start_date...

View Article

Difference in Difference with compustat data

This is a pretty basic question, i want to establish if a marketing campaign undertook by a company was successful or not? I have the cash flows for that company (company A) before and after the...

View Article

Create a Calendar for each ID

I'm trying to create a calendar for each each ID for which I only have dates of interest. For instance, my data looks something like this: ID start stop var1 1 1-Jan-2014 1-Sep-2014 L1 1 1-Jan-2015...

View Article
Browsing all 72756 articles
Browse latest View live


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