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

P-Values and F-statistics changing slightly between iterations of...

Hello, I am using Stata 14 w/ 64M memory. Essentially, I am running a joint test of significance and after running it a few times, have noticed that my p-values and f-statistics are changing slightly...

View Article


Matrix Size Adjustment

Dear all, I have two questions on the Stata Matrix Size. 1. In general, if you set the matrix size = 11000, the Stata will perform using the size regardless of your actual needed matrix size (e.g. you...

View Article


cannot understand source of error from coefplot

Hi, I am new to coefplot and have worked through many of the examples. My problem is that I do not see the source of the error in the following: use anesN188,clear // data set of interval level vars of...

View Article

Common elements between two lists of string variables

Hi everyone, I am relatively new to Stata, so this is likely a basic question. I searched in Stata help file and the forum history, but couldn't find anything specific to string variables. I have two...

View Article

using foreach to run regressions for consecutive time periods

Greetings, I have a panel dataset (country/years) for years 1956-2014. I'd like to estimate a regression and save the output for each 10-yr period (e.g. starting with 1956-1955, then 1957-1956, and...

View Article


Generating quarterly dummy variables

Hi all: I am trying to generate a set of quarterly dummy variables for a range of dates but can't seem to figure out how to do it. I have the date variable formatted as %tq in one column. I tried...

View Article

r(503) conformability error when running margins command after svy: meoprobit

Good Evening Statalist, I am attempting to run the margins postestimation command after running an meoprobit model using Stata 14 and continue to get this r(503) conformability error. I do not get the...

View Article

MI Impute Chained Error: Many "Perfect Predictors"

I am encountering an error using the mi impute chained command in Stata 14.1 to impute on a dataset with 1500 observations. I typed the following:mi impute chained (ologit) guilty age educ income...

View Article


Transpose data to have variable names.

Hi, I am using Stata 13 on Windows 7. I have a data set that has one row of observations and would like to transpose it so that the variable names could be the first column then the observations the...

View Article


Bounded Dependent Variable

Hello everyone, I have a question. I am running a panel regression for 29 cities and a period of 7 years. My dependent variable is CGI which measures the level of income segregation strictly having a...

View Article

Can xtscc be used in the case without cross-sectional dependence?

I am manipulating an unbalanced macro panel with N=9 and T=9 (75 observations). The xttest3 shows that there is heteroskedasticity, and xtcsd (Pesaran Test) shows there is not cross-sectional...

View Article

drop the largest observation by id

Hello, my data looks like this id distance 1 300 1 20 2 500 2 450 3 6 3 780 4 9000 4 30 Each id appears twice because there are two distance values for each id. I would like to drop the larger distance...

View Article

Merge variables

I have two variables of this nature age agem . 49 . 49 . 48 . 49 16 46 . . 49 18 45 16 46 . 47 I need a command to replace only the missing values of age with the corresponding observation from agem....

View Article


Why variables are insignificant

I am trying to identify the factors that most affects 'Access to electricity' using 24 countries over a two year span. Even though this is a short panel data set the article I am replicating used a...

View Article

STATA v14 and v13 give different results

Running melogit and gsem on STATA v14 provide results but when I re-run the same thing on STATA v13 (home installation) it gives me an error read "initial value not feasible". Is the mechanism behind...

View Article


Commands for regression in difference-in-difference design

Hi experts I've searched, but couldn't find any threads about the actual execution of regression in a difference-in-difference design. I'm interested in how (X) employee sees their leaders...

View Article

Procedure (long-run) error correction model

Hi, I am currently trying to create my long-run relationship (cointegrating equation) where I mainly look at the relationship between A and B. I have never done an ECM model before, but with the help...

View Article


counting the number of categories of a given variable

Hi, Is there a command that I could use if I want to count how many categories a given variable in my data set is comprised of? Rather than having to manually count them? Thanks in advance

View Article

Using cmp for discrete/continuous estimation

Hi everyone, I had another thread about this sort of problem, but received good advice about using the cmp command. The context is this. I am estimating a discrete-continuous choice model where...

View Article

error (109) "type mismatch" when using nlcom after reg3...

Hello Statalisters, I'm using aidsills command to estimate a QUAIDS model (which uses reg3 to estimate a non-linear system). The command works well, but when I try to construct elasticities using the...

View Article
Browsing all 65044 articles
Browse latest View live


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