Skip to content

easy printing of fstat #400

Description

@compleathorseplayer

Hi All. What about the following for easy access to ftest()?

ftest(lmodel)=(1/(1-r2(lmodel))-1)*(length(predict(lmodel))-
    length(coef(lmodel)))/(length(coef(lmodel))-1)   

I have been giving this manually to my students, but it would be nice to have it
available as a method (at the moment ftest() with one argument fails)

I tried to make this into a Pull request but have never done that and got bogged
down with 'branch comparisons'. Could someone please submit this if you think it is a good idea?

Maybe the function should be called fstat() to be analogous to the r2() diagnostic (a value, as opposed to a table)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions