foreach v of local var { label values ??? replabel } Two problems with the above, firstly since var is a local macro it needs to be put in single quotes `var' (note that the first single quote is usually located to the left of the 1 key on most english keyboards). Secondly ???
Stata 11 users can now use -label copy-. -labvalclone- remains of possible use to users of Stata 7 .. 10. Nick n.j.cox@durham.ac.uk Anna Reimondos Thank you all for your further suggestions. With the labmask, I had not realised that the label values were dropped, so yes I ...
. gen period = 1 if inlist(month,4,5,6) (2 missing values generated) . replace period = 2 if inlist(month,10,11,12) (2 real changes made) . . label define plab 1"1 April to 30 June" 2"1 October to 31 December" . label value period plab . . * Gene...
Learn about factor analysis - a simple way to condense the data in many variables into a just a few variables.
Could you reduce your multi-class labels to “correct”/”incorrect” by saying e.g. correct = the right label is in the top 3 and then use McNemar’s test like you described? Reply Jason Brownlee January 12, 2019 at 5:34 am # Perhaps, I’m not sure that the findings will be...
The continual reassessment method (CRM) is a model-based design for phase I trials, which aims to find the maximum tolerated dose (MTD) of a new therapy. The CRM has been shown to be more accurate in targeting the MTD than traditional rule-based approaches such as the 3 + 3 design...
In Stata, almost all commands return results. Estimation commands return their results ase()values, and most other commands return their results asr()values. I learned the namesr(mean)andr(sd)by typinghelp summarizeand scrolling to the bottom of the help file. There I found all the results ...
BTW, your Score1 is still incharactertype, so it is not plotting proportional to its value. Here's one approach to use the value without "<" but the label including the "<". There are lots of options here. A few below: add the "<" to the axis labels ...
st: AW: How to label bars with frequency AND percentage for categorical variables? From: "Martin Weiss" <martin.weiss1@gmx.de> Prev by Date: RE: st: RE: create predicted values manually using matrices Next by Date: st: Creating non-overlapping events Previous by thread: st: Calculating...
Buddy wrote: I'm crossing over from SAS, so am having problems with some elementary procedures, so appreciate your patience. I'm using STATA 8. I understand how to assign one variable to one value label (i.e. label values variablename labelname) I'm wondering how to assign several ...