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

how to interpret "/logs" in output from meglm gamma family...

Hello, I am using meglm (family: gamma) in Stata 14.1 and I am not finding any sources that explain the parameter "/logs" in the output table pasted below. As an example, I have used the pig data from...

View Article


Plotting certain coefficients for a fixed-effects regression

I am trying to plot coefficients for a regression where I have year, region and crop fixed-effects. The regression command looks like this: regress yields i.region i.year i.crop c.t1#i.crop c.t2#i.crop...

View Article


Matching cases (1): 4 to controls by age category, sex ,State

I have tried to follow the examples in the forum on matching cases / controls but have been unsuccessful. I have a large dataset of 21700, where 187 are cases. I have information on age, sex , state...

View Article

st: difference in medians . Raw vs calculated with cendif

Hi, I tried to use cendif to calculate the 95% CI for the difference in median but I realise the pctl_dif is different from the difference of the raw median. Can I still report the 95%CI together with...

View Article

Return missing strings

I was highly dissatisfied with tokenize, and I was recommended to write my own, so I did it. The code below: Code: program define itoken, rclass local text = "`1'" local parse = "`2'" local n = `3'...

View Article


Ina

I need help with saving summary (mean media std dev etc) output to word

View Article

H matrix in xtabond2

Dear Stata users, I am working with xtabond2, the one step difference GMM i.e. main equation in differences and instrumenting with second lag. I am trying to replicate the estimator myself. When I look...

View Article

Panel data - is it possible to isolate certain values of my dependent...

Hi so I have been running the xtlogit command as below. xtlogit alcohol_freq age i.wave ragender i.educ_e i.wealth_group if r2hibps==1, re However as my dependent variable is polychotomous and ordinal...

View Article


-clustermat stop- does not work as expected; two alternatives now on SSC

Dear all, For those of you who use Stata for clustering of pairwise distance matrices derived from sequence analysis (or other sources), you may or may not be aware that Stata's builtin clustermat...

View Article


Stata takes first diffrence of ADF by default without specifing. Is this the...

Hello I am testing the null hypothesis of unitroots with the phillips perron test. I have noticed that Stata takes the first diffrence by default when using the ADF meaning one does not have to specify...

View Article

Question about -ereturn repost- and the resize option

I've got a question about the behavior of ereturn repost using the resize option. I also have a subtler question about the negative effects of what I'm asking my program to do (which I'm aware is a...

View Article

Linear Discriminant Analysis

Hello, i'm conducting a research with active and faling companies. So my dependent variable is a categorical one with faling(0) and active(1). All my independent variables are scale variables. As i'm...

View Article

There's no way to get a virus or bug via Stata, right?

So ever since I started using Stata (about 5-6 weeks ago), this weird thing has been happening to my computer. Every so often, a random Internet Explorer or Google Chrome window will open YouTube and...

View Article


Problems with "graph hbar..., saving()"

Dear colleauges, I am strugglying with Stata 14 and using the graph hbar save option. When I run the command lines, the graph is produced perfectly but is no where to be found after saving it. Kindly...

View Article

Percentage and CI graph

I would like to draw a graph of percentages with the xact proportion CIs at 97.5%. Looking a bit like a paired forest plot - so as to show where the CIs overlap. Could somebody point me in the right...

View Article


Power calcs without randomization or control

I'm checking power calcs for a pre/post study that does NOT have a comparison group. The MDE is 20% and the study wants to compare to proportions, before and after the intervention. Using an alpha of...

View Article

Principal Component Analysis

I am conducting PCA for several continuous numeric variables. However, one of the variables is associated with poor outcome when it is high and when it is low. For example, normal range is 1-3 and...

View Article


Randomly picking controls for each treatment?

Hi all. I am trying to randomly pick a sample (of 1000 children) from a large school admissions lottery database of about 10000 observations. The probability of winning the lottery is dependent on the...

View Article

estat vce, correlation

Hey everybody, After running xtreg, fe vce(robust) I have examined the correlation between the independent variables using the estat vce, correlation command. My question, in economics and other social...

View Article

HH_id

Dears, I have a database of 10500 obs that i got by merging 8 different databases. In each database the var questionnaire number (Qno) represents the unique identifier but when i merge files these...

View Article
Browsing all 65044 articles
Browse latest View live


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