Quantcast
Channel: Statalist
Browsing all 73374 articles
Browse latest View live

One sided meta analysis

I have extracted this data from studies of either treatment (group) 1 or 2. I want to run a meta-analysis comparing the means, but obviously each study only has one patient group. Am I best running a...

View Article


Testing statistical difference for 4 variables

I shoul perform a test for whether the means are statistically different from zero for the excess stock returns and the three factor returns (Mkt_RF (this is called ‘the excess market return’), SMB,...

View Article


How to recreate longitudinal analyses from SAS in STATA using xtgee only...

Hello all, I have been trying to recreate SAS output in Stata but keep getting discrepancies. Unfortunately, the biostatistician only gave me the output and not the SAS code so I am trying to recreate...

View Article

groups command, export/copy table to excel

the groups function is a very useful command, however the output seems to be not very transferable - is there a way to export the results to excel? Copy Table does not work for -groups- ouput Either...

View Article

mi predict problem

Dear all, I am having problems trying to get the baseline survivor function after mi predict. I am using the following code: mi predict basesurv using miest, basesurv and get the following error:...

View Article


Please help: translate R survey design code into Stata

Dear all, Let me start by saying that I know very little to nothing of survey design, so this may be really simple, but I have no way of knowing. Someone shared with me a code to run a model. The code...

View Article

Image may be NSFW.
Clik here to view.

Problem with mi commands and using value labels in expressions

Hi I am trying to use value labels in expressions with the mi commands. Unfortunately, when I run the following command: mi estimate: regress income age if country == "CH":country I obtain the error:...

View Article

Fama and French (2015) Time Series Apprach

I am comparing results of Fama and Frech (2015) Time series approach and Fama and Macbeth (1973) two steps approach. The results of Fama and Macbeth (1973) can be computed by using asreg or xtfmb...

View Article


what package does near/far matching in Stata?

Hi, I am looking to use a near-far propensity score matching technique in stata but I have not been able to find any way to do that. Does anyone have any recommendations? Thanks

View Article


Variance of Fixed effect residuals

Hi all, I am performing the following fixed effect regression on an unbalanced panel model: Code: quietly xtreg tasso_crescita_sales_prod L.log_sales L.dummy_2 L2.dummy_2 L3.dummy_2 mean_gr_rate_atc2...

View Article

quantile regression, loop-foreach

Dear Clyde Schechter There is a slight twist in my qreg variables, which is giving me troubles while running them in a loop.. mentioned below is the code that I am using, where XtsysCFI is the...

View Article

Summation with restrictions

Hello, I'm working with a dataset which includes information about 5 countries. In this case, I only want to work with 3 variables. The data looks like this: reporter partner aux Belgium Israel...

View Article

Generating a new variable

I am working with play-by-play data on the NFL. In my dataset, I have a variable named GameID, a unique identifier for every game, a variable named Quarter, for the quarter that a play takes place in,...

View Article


longitudinal population survey data

Hello, I have a longitudinal population survey data. This is actually my first time working with such a huge dataset, and I am having a really bad time in setting it up. I am describing the dataset...

View Article

Analyzing two time points with regression

I am analyzing data with the mental health component score (measured 0-100) for 4500 individuals. This score was measured at baseline and then 30 days following an intervention. I would like to use...

View Article


Attrition and OLS estimatos

How can I prove that the attrition bias affects or does not affect my OLS estimator? Can I do it with a balance table between the group of which I have information and with the one of which I lost...

View Article

Help with Stata's Graphs

Hi I'm trying to build a Graph on Stata but the variability of my Data is very high. I need to build a Graph of Brazilian's Inflation from 1980 to 2012 but, in the middle of this period, we had very...

View Article


Reg without constant term

Hi, I know that when I estimate a regression with fixed effects the constant term should not be included. However, when I run the regression os Stata, it estimates the constant term. How can I run my...

View Article

Scatter of a local

Hi, is it not possible to create a scatter of a local variable? I'm evaluating the difference in the probabilities of Y btn men and women for a range of other variables. Through some loops I get a list...

View Article

Fixed Effect troubles

Hello, I'm a first-time poster and newbie to the world of Stata. I am trying to estimate a fixed effects model with city as the entity variable and year as the time variable in a panel data set I have....

View Article
Browsing all 73374 articles
Browse latest View live


Latest Images

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