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

Query

Michael Bond New MemberJoin Date: Nov 2015 Posts: 11 #1 Percentile Ranking TSR Dear All, I have total return index data and I want to find relative TSR growth percentile ranking for each firm relative...

View Article


F-test

i just ran the following regression. what does the F-test tell me? xtreg tscorek small, fe Fixed-effects (within) regression Number of obs = 5,786 Group variable: schidkn Number of groups = 79 R-sq:...

View Article


Lines get lost in legend keys when adding confidence intervals to sts graph...

Hi, I'm trying to produce a simple KM graph using the following commands: Code: sts graph, by(PPI) tmax(9) ci plot1opts(lcolor(pink)) plot2opts(lcolor(navy)) /// yscale(noline)...

View Article

Help Please - bar graph with error bars - continuous variable over dichotomic

Can I please ask someone to help me with us? I can imagine this is a simple thing but it is driving me crazy! I have tried many ways and cannot add the error bars to the bar chart... I need a simple...

View Article

Format pwcorr

Hi everyone, Is it possible to format how the number of observations is displayed with the command pwcorr ? Code: pwcorr niv_edu idioma monto, obs I get : Code: niv_edu idioma monto niv_edu 1.0000...

View Article


problem with twoway line xaxis settings

Dear All, to be short: Code: twoway line mean_country_cum_abn day_date, by(country) xline(`eventdate') yline(0) xlabel(#1) generates the graph attached (I cropped it to focus on the problematic part)....

View Article

Passing an array to numlist

Dear StataList, I am attempting to compute the sample size for a series of one-sample mean tests using power onemean. Specifically, I am attempting to run the following command power onemean 1, diff(2)...

View Article

pvar installation

Hi, I am new to stata. I am trying to install pvar. Can some give details how to do so? I want the steps. Thank you

View Article


Creating a matrix from returned macros and scalars

Hi, The aim is to create a matrix which can be exported to excel using -putexcel-. Code: sysuse auto local var mpg rep78 price tabstat `var', by(foreign) s(median mean) save return list -tabstat, save-...

View Article


Kaplan Meier curve

Hi, I am trying to plot a Kaplan Meier curve for a survival data set that is examining the time to COPD exacerbation (days) and event is whether or not they have the COPD exacerbation (exac_event) and...

View Article

Changing list data to include a new column

Hi, I asked this question in Cross Validated but they requested I move it here, I have a dataset of the form: YEAR ID Data year X 1 x_1 year X 2 x_2 year Y 1 y_1 year Y 2 y_2 ... I would like to put it...

View Article

Chart: Stacked- Special rate over time (pre, during ,post) by group

I need to create a stacked chart of fights at pre, during and post eras by the program unit. Fights are differentiate by the severity so they are fights A, B and C. The sum of A, B and C fights should...

View Article

Observations between two events

I would appreciate you help to the following problem: In my dataset I have two events: one is dummy coded (event_1), the other one metrical (event_2). My target (variable target) is to create a "count"...

View Article


Creating a group of variables to indicate year 0 and years before and after...

Hi, I'm working on a project that is trying to assess the impact of a change in the grade configuration of schools in student outcomes through a diff-in-diff approach. I have data from 2007-2015 per...

View Article

Tabstat by() gives different results than tab

I am trying to create a table of frequencies of multiple categorical variables, all of which have the same categories (numbers 0-4). I have been using the following syntax: Code: tabstat gmotype_02...

View Article


Changes to calculation of standard errors in --estat teffects-- after --sem--?

Hi all, I am rerunning some data after about 6 months. I have been using sem and then estat teffects to determine the indirect effects of a variable through a mediator. I am unable to replicate my...

View Article

Percentages

Dear Statlist Users I am trying to derive a variable that will tell me which households pay above 30 percent of their disposable income on mortgage costs, but I am not sure how to do this in Stata (the...

View Article


Tabstat with multiple weights

Hi, Is it possible to use tabstat command with different weights applied to each variable listed? Specifically, can I achieve this: Code: tabstat age [aw=weights_spec1], statistics(mean sd p10 p25 p50...

View Article

How to store traced parameter vectors

Hi, I'm using Structure Equation Modeling (SEM) to do some modeling. I noticed that SEM allows to display iterated parameter vectors through the "trace" option, but I don't know how to store those...

View Article

Acceptable maximum value of Cragg-Donald Wald F statistic in the IV...

Dear all, I would like to know whether there is something as "acceptable maximum value of Cragg-Donald Wald F statistic" in the IV regression model (beyond which it is not acceptable). In my model, the...

View Article
Browsing all 65033 articles
Browse latest View live


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