Segmentation information for one profile out of the set

Share:

Description

Retrieves the segmentation information of one particular profile out of the set given

Usage

1
GetCondition(x, Condition = numeric())

Arguments

x

An object of class EBSProfiles

Condition

the index of the profile of interest

Details

This function is used to retrieve the segmentation information of a profile when a set of conditions have been analysed together.

Value

An object of class "EBS".

Author(s)

Alice Cleynen

References

Rigaill, Lebarbier & Robin (2012): Exact posterior distributions over the segmentation space and model selection for multiple change-point detection problems Statistics and Computing

Cleynen & Robin (2014): Comparing change-point location in independent series Statistics and Computing

Johnson, Kotz & Kemp: Univariate Discrete Distributions

Hall, Kay & Titterington: Asymptotically optimal difference-based estimation of variance in non-parametric regression

See Also

EBS-class,EBSProfiles-class,EBSProfiles,EBSegmentation

Examples

1
2
3
4
5
6
7
# changes for Poisson model
set.seed(1)
x1<-c(rpois(125,1),rpois(100,5),rpois(50,1),rpois(75,5),rpois(50,1))
x2<-c(rpois(100,1),rpois(100,3),rpois(75,2),rpois(50,0.5),rpois(75,3))
M<-rbind(x1,x2)
E<-EBSProfiles(M)
C1 <- GetCondition(E,1)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.