Learn R Programming

RcmdrPlugin.BWS1 (version 0.2-3)

bws1Model: Fit Model to BWS1 Data

Description

Fit a model to BWS1 data.

Arguments

Details

This dialog box implements a modeling analysis using the data set for BWS1 analysis with the functions clogit in survival and gofm in support.CEs. This dialog box is activated if the data set for BWS1 analysis created in the ‘Create Data Set for BWS1 Analysis’ dialog box is selected as the active data set. For details on the results of this dialog box, refer to helps for clogit and gofm.

GUI elements of this dialog box are as follows.

  • Name for model: An R object name into which the results of a fitted model obtained through this dialog box are stored. The default name ‘BWS1model.x’, where x indicates the integer number assigned automatically from 1, can be changed following R's rules for naming objects.

  • Response variable: A variable containing responses to BWS1 questions in the active data set. This variable name is fixed as ‘RES’, which cannot be changed by users (A fixed variable is colored in green).

  • Base item: An item used as the reference (base) item in the model. Select one item from the radio buttons that correspond to the items. A list of items is automatically displayed on the dialog box.

  • Covariates: Variables used as covariates in the model. Select zero or more variables from this list box.

  • Stratification variable: A variable for identifying each combination of respondents and BWS1 questions. This variable name is fixed as ‘STR’.

  • Subset expression: A logical expression for specifying a subset of the observations in the active data set to be used for the fitting.