Description Usage Arguments Value Author(s) See Also Examples

This function does a two-sided selective test for a single regression coefficient
(test whether it is zero or not) from an `"outference"`

object.

1 | ```
coeftest(object, index)
``` |

`object, ` |
an object of class |

`index, ` |
the index of parameter under consideration. The intercept is labelled as |

If `sigma`

is known or estimated, then this function returns a list with the following
components:

`Z, ` |
the value of the |

`sd, ` |
the standard error of the regression coefficient. |

`truncation, ` |
the truncation set for the |

`pval, ` |
the corrected p-value. |

If `sigma = NULL`

, then this function returns a list with the following components:

`truncation, ` |
the truncation set for the |

`pval, ` |
the corrected p-value. |

Shuxiao Chen <[email protected]>

`grptest`

for testing group structures from an `"outference"`

object.

1 2 3 4 5 6 | ```
## Brownlee’s Stack Loss Plant Data
data("stackloss")
## fit the model
## detect outlier using Cook's distance with cutoff = 4
fit <- outference(stack.loss ~ ., data = stackloss, method = "cook", cutoff = 4)
coeftest(fit, 2)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.