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

Conflicting result in split sample and interaction sample

Hi, let me explain my problem. I am trying to examine the effect of indep variable A during the GFC, which i defined as between 2007-2008. So I tried two methods. My sample period is between 2000-2013...

View Article


Collinearity between endogenous variable and instruments

Dear all, I am doing the following regression. : version 10: xi: ivreg2 lnGermanFDIs lnTariffRate lnIPRP lnCapitalLaborRatios lnInfrastructureIndex lnQualityofPublicSchools lnOrganizedCrimeIndex...

View Article


Rare Events Logit Command for Stata 12.1?

Dear all, I want to use rare event logit for my analysis and thought of the firthlogit command as a good way to do this. However, apparently this command is only available for stata 13.1, not 12.1....

View Article

Changing the base of a factor variable in a regression

I am trying to change the omitted dummy variable from the smallest to some other. In other areas I have found people using the char command to change the base variable, however I cannot get it to work...

View Article

Odd dates

I have data-set in a stata file. The data has a columns with date of births and a school joining dates of individuals. Date format is the following - 1965-11-24 00:00:00 1964-07-15 00:00:00 Variable is...

View Article


dummies in panel data

I am sorry, if my question is a standard one or obvious and too simple to answer, I haven't found any answer in the Internet that's why I writing here. For my dataset (attached) I need a dummy for OECD...

View Article

Shortest program that will crash Mata or Stata?

Dear Mata users: If you have nothing better to do on a Friday afternoon, or have something better to do, but don't want to do it, why not try to think of the shortest program that crashes Stata/Mata....

View Article

Append Help

I have two data sets that I need to append, but not all variables are in both data sets. When I append in either direction I end up with empty spaces for the missing values. What I would like is for...

View Article


restrictions in SVAR matrices

Hi. May I ask what kind of restrictions can I put for contemporaneous effects in SVAR model? I know that the restrictions must be (n^2+n)/2. I put 7 restrictions for 7x7 matrix which are...

View Article


Help! Xtoprobit - panel standard deviation

Good afternoon to everybody. I was estimating a regression through xtoprobit command and observed that the estimation also gave me the parameter "sigma_u" which I found reading the Stata help was the...

View Article

using -simirt- to simulate ordinal data

I am interested in generating a simulated dataset of ordinal items using the user-written command simirt (findit simirt). However, it is not clear from the help file how one goes about generating...

View Article

Expand data based on a time variable

Dear Statalisters, Below is my data (show the first two records). Ticker, cname, and permno identify the company and its stock issue code. I want to expand each row into month and year, that is for...

View Article

Fama-McBeth regression

Dear Statalisters, i want to report the t-statistic from Fama-McBeth regression from my result, can you help me how can i run and save this function in stat? thank you

View Article


R-squared for fixed effects panel data

Hi there, I am making so much progress thanks to the people that helped me in my last topic and I am very grateful. I am wondering about r-squared for fixed panel data when I run xtreg dep indep, fe...

View Article

Convert local macro to global

I am attempting to collect a list of variables with missing (or not, depending on circumstances) values for use in a later part of my analysis. Conceptually: : sysuse auto, clear replace mpg=. in 10/21...

View Article


how to calculate the number of men and women in my data?

hi everybody , i have a large database that contains a number of variables , including one specifies the type of the individual : 1 for man and 2 for woman , would you like to tell me how to calculate...

View Article

Image may be NSFW.
Clik here to view.

Asking for suggestion in Stata MLE

Dear statalist, I have just begun the maximum likelihood with Stata. My estimation equation is a linear with normal error. I am now facing to some problems with result (i am getting the error 198...

View Article


Image may be NSFW.
Clik here to view.

Asking for suggestion in Stata MLE

Hi everybody, I have just begun the maximum likelihood with Stata. My estimation equation is a linear with normal error. I am now facing to some problems with result (i am getting the error 198 invalid...

View Article

how many "women" and "men" in my data ?

hi everybody , my data contains 550 k observation ( the data is the result of an investigation in order to estimate how many habitants in our population , how many unemployed , how many children are...

View Article

Several boxplots in an x-y plot

Hi All, I need to create several boxplots for different bins that include a range of values in v1. The boxplots show the mean, median and spread of v2 in that range. Then I need to graph them in an x-y...

View Article
Browsing all 73261 articles
Browse latest View live


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