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

Epiweek module and error message

Hi, I am trying to use the epiweek command in Stata/IC 11.2 (downloaded through the findit command in Stata) I used the command: epiweek invitedate3, epiw(epi_week) epiy(epi_year) (inviteweekdate3 is...

View Article


Rowrank

Hi, I understand -rowrank- will rank the variables below as 1 3 3 3 5. x1 x2 x3 x4 x5 --2--3--3--3--5-- My questions are: 1: How can I rank the following as 1 2 2 2 3? 2: Im trying to sort P/E ratios...

View Article


Number of variables with the same prefix

Hi, I am using Stata 13 and would like to count the number of variables in a dataset that start with the same prefix. Any assistance will be greatly appreciated.

View Article

export the standardized coefficients of SEM

Dear all, I am running SEM model. I used this code to get my model. The stata displayed the standardized coefficients. sem (std -> cbsched, ) (std -> cbv, ) (std -> cbh, ) (std -> cbsm, )...

View Article

-missings- now available from SSC: new program for managing missings

Thanks to Kit Baum as usual, a new program missings is now available from SSC. Use : ssc inst missings to install. Stata version 9 up is required (but see below for a note for any people on version 9...

View Article


Major update to -texdoc- available on SSC

Thanks to Kit Baum, an update to the texdoc package is available from SSC. To install the package, type : . ssc install texdoc, replace or use the adoupdate command. texdoc provides tools to create a...

View Article

Fitted value and confidence interval of part of a regression model

Hello, I am estimating a non-linear regression of the following form: nl (y = {alpha} + ({theta} + {beta1}*x1 + {beta2}*x2 + 0.5*x3)*({eta1}*z1 + {eta2}*z2 + {eta3}*z3})) After estimating the model I...

View Article

Repeated Measures Bland - Altman (BA) and Concordance Correlation Coefficient...

Hello, I was wondering if anyone knows any techniques / programs to analyze repeated measures CCC and repeated measures BA plots. I've been using the 'concord' program but it does not allow for...

View Article


-mipolate- now available from SSC: new program for interpolation

Thanks to Kit Baum as usual, a new program mipolate is now available from SSC. Use : ssc inst mipolate to install. Stata version 12 is required (but see below for a note for any people on version 10 or...

View Article


Job posting for Research Scientist position in Austin, TX

Hello Statalisters - Our firm is hiring a researcher to help with our education research & evaluation practice here in Austin, Texas. Much of this person's time will involve coding for data...

View Article

-rowmean- conditional upon top x%

Hi, My dataset is on stock returns, I have generated the rankings for each stock based on their Price/Earning ratios, now Im tying to generate the mean returns for each row conditional upon the stock's...

View Article

Reshape Long to wide super slow. Alternative?

Hi I have a dataset with 4million observations that looks like this. id text nvals 1 abc 1 1 def 2 1 ghi 3 2 nkw 1 2 dsd 2 2 sad 3 2 olp 4 . . . 2 yeu 100 What I need to do is to collapse for each "id"...

View Article

psmatch2 output -nearest neighbor matching

Dear Statalisters, I run and got psmatch2 output (see attached), psmatch2: | psmatch2: Common Treatment | support assignment | Off suppo On suppor | Total -----------+----------------------+----------...

View Article


Turn off gridlines in a scheme?

Can anyone help me with what entry I should put in a scheme file so that it never ever plots those horizontal scheme lines? The manuals just keep sending me in circles (see Schemes Intro! but no,...

View Article

Outreg2 and tex option

I would wish outreg2 command to give me the output on Lyx, a subsidiary of latex that am using. However it gives me the output on tex which am unable to transfer to my document in lyx. Please help.

View Article


Biprobit marginal effects standard errors

Hello, I'm estimating a recursive biprobit model for the effect of an endogenous binary variable, C, on a binary outcome, Y, with common exogenous variables, X, and excluded (instrumental) variable, Z....

View Article

NLSUR syntax - estimate equations using different time periods

Dear All, I want to run the non-linear estimation below. My sample has several periods (0 < t< T2) and I want to estimate the non-linear equations with the same coefficients. Do you know how I...

View Article


stata command

how can we write command of these two formulas in stata 1)CSSDt = √∑i=1n (Ri,t – Rm,t)2/ N-1 and 2) CSADt = ∑i=1n |Ri,t – Rm,t |/ Nt .

View Article

merging data

Dear all, I have two data set which has to be merged. my problem is that while merging the data set, survey date of the first data should fall in line with survey date range of second data. I am...

View Article

Subsetting the data based on a index value

Dear Statalisters, I attached my small data (113 rows),it contains 3 variables, treated1975 is a dummy set to 1 if it is treatment firm, and zero if not. _id is a id for all firms in the same , it goes...

View Article
Browsing all 72758 articles
Browse latest View live


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