Thanks to visit codestin.com
Credit goes to github.com

Skip to content

No Docs for how to extract values from test summaries #255

@matthewcrews

Description

@matthewcrews

Is your feature request related to a problem? Please describe.
I am trying to perform a binom_test and extract the p-value from the result. The documentation does not cover this scenario.

Describe the solution you'd like
A simple example of how to extract values from a statistical test

Describe alternatives you've considered
There are none that I have found

Additional context
This is an example of what I am trying to do:

#r "nuget: RProvider"

open RProvider
open RProvider.stats

fsi.AddPrinter (fun (synexpr:RDotNet.SymbolicExpression) -> synexpr.Print())

let x = 10.0

let summary = R.binom_test(x, 100.0, 0.5, alternative="two.sided")
// What I would like to be able to do
let pValue : float = summary.GetValue "p.value"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions