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

A question about GDP interacted with Quarter Fixed Effects

Hi! What could be the idea behind interact GDP with Quarter Fixed Effects in a Difference in Difference model (GDPfor2014i *QuarterFEt)? I understand that treatment could somehow effect GDP if it was...

View Article


Getting value of specific value label

Dear Statalisters, I've got a (probably very easy) problem and I'm somehow blind for the answer.. I'm using the vallist statement (I know there are several other statements which produce simlar...

View Article


Exporting/Displaying boottest results

Hi everyone, I am running a difference in differences regression with Panel data on Stata version 14.2. I have state-level clustered standard errors, but since there are only 32 states in my data I...

View Article

unsuccessful merge

Hello everyone! I am trying to merge two data files from different sources using the command merge 1:1, based on a string variable Country. However, the merge is never successful, even though the names...

View Article

Expanding backwards

Hello, Im working on a dataset and want to expand my dataset backwards for 2 months extra. The dataex I added shows first the GVKEY (company ID), then the date and then the variabele (DLCQ). For...

View Article


npregress and Bandwidth selection with Bootstrap CI

Dear all, I have a question that is both technical (Stata) and theoretical. Based on the help file for npregress, and some hands-on replication, it seems that when we request bootstrap standard errors,...

View Article

How to do an analysis of transition frequencies in a placebo controlled study?

Hi everyone, I want to do an analysis of transition frequencies in a placebo controlled sleep study, but I don`t know how to do it. I`m using Stata 15.1 for Windows. I have read about the command...

View Article

Exporting/displaying boottest results

Hi everyone, I am running a difference in differences regression with Panel data on Stata version 14.2. I have state-level clustered standard errors, but since there are only 32 states in my data I...

View Article


Survey Weights in the Construction of Adult Literacy Rates

Hi, I have household survey data from a country with the following variables: district ID (distid)household ID (hhid)size of household (nrt)total household monthly expenditure (expr)educational...

View Article


suest alternative for panel data

Hi, I have a panel GDP data for over 200 countries for the years 1990 to 2018, which I am reducing to 6 different sub-samples. I am estimating the effect of 9 year dummies in each of these subsamples....

View Article

Appending models using coefplot

I would like to merge multiple models into the same series (crude/adjusted/further adjusted models) from regression results stored from a loop.I would appreciate if someone can help with syntax below....

View Article

Changing the line colour of panel data line plot according to an indicator...

Dear forum, I have a set of longitudinal patient data representing patient id (subjid), time in study (time), lab reading (aval) and a dose indicator variable (dose) that can take values 0, 1 or 2....

View Article

Graph export multiple using loops

I have been trying to create and export multiple graphs using the following code, instead I am getting a single graph that essentially does what I want but crams all my graphs into one: Code: local...

View Article


match couples in a pooled quarterly cross section (Q1 only) with hhid, wave...

Dear Statalist, I am trying to match couples (married or cohab) in a pooled cross section. I have a household ID (hhid) for every quarter that appears only unique to a particular quarter. To keep...

View Article

Help estimating 3d panel data

Hello, I'm working with this dataset (that's a sample, it is balanced and goes until 2016). Array and I want to run a fixed effects regression, so I type the following comands egen...

View Article


PSM method again

Hello every one i m doing my analysis for my research and i need to do endogeneity test by using PSM regression my issue is i do not know how to run this test my model as follows: HTML Code: abn_prod...

View Article

Help with merging variables

Good afternoon, I am new here and would greatly appreciate some help. I have two variables about weight in the same dataset, one with integer values and the other with decimal values. I would like to...

View Article


matrix operation not found

Dear All, I need some advice on how to deal with an error: matrix operation not found I get the error after running this command (this is an excerpt). Code: qui tab povub80 povub85 [aw= popw],...

View Article

Count the number of unique observation conditional on variable

Hi Statlist users, I am currently having an issue counting the unique number of observation conditional on another variable. In particular, I want to do the following: Session_district Facility_id...

View Article

Poisson and Negative Binomial Distribution and Stata Codes

Dear Stata Forum, My question relates more with the theory of Poisson and Negative Binomial Poisson as it does Stata codes. I hope you are still able to help. With regards to the theory, I would like...

View Article
Browsing all 73268 articles
Browse latest View live


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