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

Help to work with matrix in STATA 12

I'm calculating some indexes in the STATA 12 and I'm putting together the schedule so that you can run without error, but in one of those steps I ran into the following error: matrix operators that...

View Article


Unbalanced Panel Data Newbie

Hi all, I am looking for some help I have an unbalanced panel data set with companies, years, and various ratios. Firstly, I plan to do simple regressions (1 variable regressions), then I will group by...

View Article


Local macro to import multiple Excel files

I am trying to compile data from a series of Excel workbooks and worksheets, while I have something that works it is rather inefficient coding. I have got company data from 30 companies in Excel...

View Article

Predictive Probability Plot

I am running an ordinal logit model with an interaction term ( : ologit DGoodIdea9B i.Frame1#i.SatisfactionYES i.Gender, or robust ). I was advised to draw a predictive probability plot which...

View Article

How to interpret Country Dummies

Array Hello I'm having a slight problem with understanding how to interpret result of my regression, i have inserted a picture below. i am working with panel data (10 countries, 11 years), i am...

View Article


Trouble with -reghdfe- or -ivreg2-: "center not found - struct...

Hi all, I have been working on a project for a few months that involves running some standard 2SLS regressions. I have a high-dimensional fixed effect that I want to control for, so I have been running...

View Article

Changes in Stata V14 commands compared to V13?

We were using this command in Stata 13 with no problems: destring count, ignore(,) replace But we got Stata 14 installed this morning and got this error when we ran the same command on the same...

View Article

Exporting results to Latex after running the Synth command

Hello, I am running the synthetic control method. And I am using the following command to generate the results for this method. : synth inflation gdpgrowth(1993(1)1998) inflation(1986) inflation(1987)...

View Article


stata python plugin compiling: unresolved external symbol __imp__

I tried to compile the python_plugin for stata on a Windows 64 bit machine with python33.lib and Visual Studio Express 2012 (and 2008) I tried the instructions in...

View Article


Levpet r(2000)

Hello, I am using the levpet command on a subsample of my observations (specific sector and year). Here is the code I am executing: levpet ln_real_VA if NACESHORT==10 & year==2005, free(ln_L)...

View Article

How to use IF condition before running a inner loop of FORV

I am struggling with imposing if condition on a inner loop. Consider the following example where a user can input five dependent variables with names S1 S2 S3 S4 S5 or S1H1 S1H2 S1H3 S1H4 S1H5, : local...

View Article

-matchit- command to match two datasets based on similar text patterns

Hi, I have two datasets each containing data on certain firms. I would like to merge the two datasets using the only available option: the name of the firms in the two datasets. Unfortunately, the...

View Article

Testing

\begin{equation} y_{it} = x_{it}'\beta_1 + y_{i(t-1)}\beta_2 + \alpha_i + \varepsilon_{it} \end{equation} As in the conventional linear panel data model the time-invariant unobserved component is...

View Article


Plot logistic regression for categorical data / difference between LOWESS and...

I am trying to predict the probability for my regression model there are some issues. I tried the command which I learned in class but does not give me a single line but lots of them. My dependend...

View Article

highest nth observation

Hi, For example, let's say that I have the following data: year weight 1990 0.1 1990 0.5 1990 0.01 1990 0.02 1990 0.01 --------> 1991 0.1 1991 0.5 1991 0.01 1991 0.02 and I want to keep the highest...

View Article


Mata function by group

I calculate a real-valued scalar by using the following program: /* myproc.ado */ capture program drop myproc program define myproc mata: myindexfunc() gen myindex=MYINDEX end mata: void myindexfunc()...

View Article

Error r(430); after svy logistic

After executing this code I'm getting the following: svy linearized : logistic dv IBM demo if r1d ==1 & r1femage80 convergence not achieved convergence not achieved an error occurred when svy...

View Article


p-value of F-statistic for each group

Hi, In my data set I have 470 companies and I got group wise estimations and their p values using parmby. I'm wondering whether there is any way to get the p-value of the F-statistic for each...

View Article

Dialog Programming: Collapsed Treeview

Dear all, presently I am working on a dialog that should contain a relatively long and complex tree in a TREEVIEW component. I would like to have this tree start in collapsed mode so that the first...

View Article

gmm command: error message "could not evaluate equation 1"

Please ignore the post, the issue has been resolved. Apologies

View Article
Browsing all 73259 articles
Browse latest View live


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