Commit 1cc7a490 authored by Archana Bidargaddi's avatar Archana Bidargaddi
Browse files

added documentation for regress

parent c1736dcd
......@@ -194,7 +194,35 @@ function CommandExecutor() {
"description" : "specifies the confidence level, as a percentage, for confidence intervals. The default is set at 95% and can be set to desired via this."
}
]
}
},
"regress": {
"parameters": "depvar indepvarlist [, options]",
"shortDescription": "Displays linear regression for the variables.",
"description": "The command regress fits a model of dependent variable on the independent variables using linear regression.",
"syntax": "regress depvar indepvarlist [, options]",
"examples": [
{
"example": "regress income2004 income2003",
"description": "Displays linear regression model for income2004 based on income2003 with default confidence interval level set at 95%."
},
{
"example": "ci income2004 income2003 , level(90)",
"description": "Displays linear regression model for income2004 based on income2003 with confidence interval level set at 90%."
}
],
"options" : [
{
"name" : "noconstant",
"shortDescription" : "suppress constant term",
"description" : "suppresses the constant term (the y intercept) in the model"
},
{
"name" : "level(#)",
"shortDescription" : "set confidence level; default is level(95)",
"description" : "specifies the confidence level, as a percentage, for confidence intervals. The default is set at 95% and can be set to desired via this."
}
]
}
},
req = new XMLHttpRequest(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment