-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogistic_phat_ci.sthlp
43 lines (21 loc) · 1.11 KB
/
logistic_phat_ci.sthlp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{smcl}
{title:Title}
{p 4 4 2}
{bf:logistic_phat_ci} -- Generate predictions and associated confidence intervals from a logistic regression model.
{title:Syntax}
{p 4 4 2}
{bf:logistic_phat_ci} [,xb alpha({it:int}) stub({it:str}) drop]
{space 4}{hline}
{p 4 4 2}
Options:
{p 8 8 2} {bf:xb} : If specified, the command generates predictions on the log odds scale. If not specified, the command generates predictions on the probability scale.
{p 8 8 2} {bf:alpha} ({it:int}) : A number; the default is 5 which generates 95% confidence intervals. If specified, the command will generate (1-alpha)% confidence intervals.
{p 8 8 2} {bf:stub} ({it:str}) : A string which will serve as a prefix for the generated variables.
{p 8 8 2} {bf:drop} : If specified, the command will write over existing variables.
{space 4}{hline}
{title:Description}
{p 4 4 2}
{bf:logistic_phat_ci} will generate predictions and associated confidence intervals from a logistic regression model. This command is built on top of the {help predict:{it:predict}} command.
{title:Example(s)}
{p 4 4 2}
See {help plotdata:{it:plotdata}}