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

Suest after xtivreg2

Dear All, I need to compare coefficients from 4 different regressions post xtivreg2. I am running: quietly eststo: xtivreg2 cog x (vol=iv1) if (popfin==1), i(id) fe first quietly eststo: xtivreg2 cog x...

View Article


topic test

Ignore this test.

View Article


Simulating multivariate normal distribution with mean of e(B) and...

Hi everyone, I am working on implementing a parametric bootstrap simulation where I have B, a vector with several parameter estimates from a regression model, and e(V), a variance/covariance matrix....

View Article

Trouble determining which variables have significant interactions for an...

Dear All, I would be very grateful for your help. I am developing a chained imputation model using 14 categorical and continuous variables. I am imputing 6 variables with 2-20% missing data. I have...

View Article

insignificant interaction term - should we still look at the marginal effects?

Dear Statalist, I have a question that is maybe not so much about Stata as it is about statistics in general. I run a multivariate regression model (prais) and include an interaction effect between two...

View Article


Stepwise ZIP and ZINB models

Greetings everyone, I wanted to ask if there is a way to perform stepwise (or, for that matter, any other variable selection method) zero-inflated poisson or negative binomial regressions, as the...

View Article

Combining 5 dataset into one

Hi there! I am having trouble trying to xtset my dta file in stata. I have five home countries, and each countries have data for 70 host countries from the year 2001 - 2012. after i stacked all the...

View Article

Matching Pairs and Indicating Common Characters

Dear All, I am encountering a problem that I found really hard to solve. I am writing here for seek for some advices. There are two datasets in my analysis. The first one contains interstate conflicts...

View Article


Counting number of times an observation appears within a group

Hi all, I am a new user to STATA and using a dataset with ~9000 observations and two main variables of interest: ir_no and ir_no_1. I am trying to count the number of times a given value of ir_no_1...

View Article


help fixing my code

sort visitlink daystoevent by visitlink: egen transfer_admit=1 if pt_int=1 & daystoevent>min(daystoevent) visitlink is the patient ID daystoevent is the number of days that help identify the...

View Article

non-parametric propensity score matching

Can propensity scores generated through non-parametric measures be used for matching measures such radius matching or nearest-neighbour matching? I have seen the use of non-parametric propensity scores...

View Article

Delete each 10th observation:panel data

Dear Statalist member, I have already asked this question but have not a response. Probably it was lost... Let me ask you again hoping for some help as I am struggling to implement it several weeks. I...

View Article

Country variables and fixed effects

Hi, members! I am using a cross-section data from a survey, where I am studying the effects of regime types on work ethic. My variables of interest are the regime type and individual controls (such as...

View Article


Placebo tests

Hi everyone, I have a question on how to run a placebo test in STATA. I have read the following entry from the STATA Forum, but I am unsure the same framework applies to my case. I am running a model...

View Article

How to use spmat command on panel data?

Hello Statalist users, I am trying to create a spatial weighting-matrix based on the inverse distance with spmat command: "spmat idistance W x y, id(id) dfunction(dhaversine)normalize(spectral)" As a...

View Article


generate histograms with descriptive statistics

Hi, I got a question about the histogram command in STATA which I cant solve by googleing it or reading the STATA help article: is it possible to create histograms where there is a box inside the...

View Article

Panel data cointegration with xtwest

Hi all. When I run the xtwest command on my panel data only part of the tests show that there is cointegration. When I use the "bootstrap" option the significance of the cointegration tests are...

View Article


Comparing regression coefficients from separate logistic regression models

I am conducting an analysis using annual cross-sectional data of doctor office visits to assess trends in prescriptions over time. I have modeled the trends in prescriptions by using logistic...

View Article

Interpretation of Multinomial Logit Model

Dear Folks, I am running a multinomial logit model for my research. I am creating a categorical variables (dummies) for industries and for advisor. First of all, how do we calculate the probability as...

View Article

Paired Regression (Possibly with IV)

Dear All, I am writing to ask an econometrics question. I am running a regression on paired observations with some paired covariates (characteristics shared by the pair) and individual-specific...

View Article
Browsing all 72769 articles
Browse latest View live


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