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

CEM including and excluding variables

Hi, I am trying to run CEM and was trying to see how omitting one variable as one of matching covariates changes the Multivariate Distance Value (L1). But I read from Iacus et al. (2011) that you need...

View Article


Collapse/Contract to aggregate observations

Greetings, I am having an issue developing syntax for aggregating across observations for a categorical variable. Specifically, I have 3 observations (interviewees), each answered "yes" or "no" to a...

View Article


STATA 11 & 13 incompatibility

Hi I have been using STATA 11 on my personal machine and stat13 on my work machine, and never had problems until now. I ran some updates (which i admit i hadn't done for a while due to mostly using a...

View Article

ATET estimation after ETREGRESS

This is regarding the ETREGRESS example in STATA V14 manual (here, Example 6 in page 18). In Page 18, code for estimating ATET is given as Code: margins, predict(cte) subpop(if ins == 1)...

View Article

ATET estimation after ETREGRESS - two alternates

This is regarding the ETREGRESS example in STATA V14 manual (here, Example 6 in page 18). In Page 18, code for estimating ATET is given as Code: margins, predict(cte) subpop(if ins == 1)...

View Article


General application of control function approach

Hello there, in this post i want to ask you if you would like to share some common thoughts on the control function approach and its implementation in stata. I´m very interested in endogeneity issues...

View Article

Interpreting Interactions in 2sls

Hello there, as it was suggested by a tenured member of the forum i should repost my questions another time. So I splitted up my questions (part one refers to the more general topic of control...

View Article

Dynamic models for bilateral panel data with time-constant variables

[I use Stata I/C 13.1. This question has not been posted anywhere else yet; If need be, it will be posted in other sites only after 72 hours. Could not find the answers to the questions I am trying to...

View Article


Time series data fixed effects

Hi, I have some time series data and I was wondering if I could run a time fixed effects model? I thought I could use the "xtset" command however upon further research i found that it is just for panel...

View Article


Guidance on procedures/commands for frequency matching

Dear Statalisters, I have looked at Stata Journal archives, the Statalist forum, and other sources and have not been able to find specific guidance on the above. I believe there have been similar...

View Article

reghdfe multiple fixed effects help

Hi, new to stata! I am trying to find out, after controlling for industry, country, and year, the effect that internet usage rates have had on exports, and I want to understand how this effect differs...

View Article

minimum of a number

Hi, I need to find a code for the date1 closest to my date2 (all the same date) all of which belong to the same ID, and use the value for that closest date. The data somewhat looks as follows: ID Date1...

View Article

Error in Importing csv file

Hi, I am getting the following error message while I am trying to import a csv file into my Stata 12: "op. sys. refuses to provide memory Stata's data-storage memory manager has already allocated 1568m...

View Article


Loop Finding Matches Based On Criteria Within Group

Hello, I am trying to run a loop that does the following: Within each year, each observation (lookuprow) will look through all the other rows and find the observation (matchedrow) that best matches...

View Article

Reshape from Wide to Long without Identifier and Variable number of Stubs

Hello everyone, I did stumble upon a new problem with my current dataset, which has a much more complicated wide format than I am used to. Maybe some of you allready did have such an odd case of wide...

View Article


bayesmh three level model

I am trying to set up a Bayesian model to regress average proportion of antenatal care use based on published results from 1990 to 2015. What I have is: - Proportion of antenatal care use (ANC) - Year...

View Article

Checking if a condition has been met at least once during a period, then...

Good afternoon, I have been struggling trying to solve a problem regarding that I have a feeling might have an easy/obvious solution that is escaping me. I am looking at stocks' time series monthly...

View Article


how can I transfer the logistic regression outcome to an excel sheet?

Dear Members, How can I transfer the output of this regression model to an excel sheet? I am using Stata 12 foreach var in debakey smoking_hx illdruguse dm htn hyperlipidemia cva_hx cad_hx chf_hx...

View Article

Rolling regression:Reporting individual Coefficients, t-Stats, and adjusted R2

Hi The following code has been developed by Robert Picard in this post http://www.statalist.org/forums/foru...l-values/page3 Also here http://www.statalist.org/forums/foru...sing-rangestat The code...

View Article

Converting monthly string variable into monthly floating variable

Hi guys, I have a feeling I'm not the first with this problem, but I just can not find anywhere on the internet the solution to my extremely time-consuming problem. So, I'm trying to analyze a dataset...

View Article
Browsing all 65052 articles
Browse latest View live


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