Skip to content

Section 9.3 - Weird series #11

Open
@pcsksa5

Description

@pcsksa5

The first example (using the PBS dataset) doesn't run:

PBS_feat <- PBS |>

  • features(Scripts, feature_set(pkgs = "feasts"))
    Error in ar.burg.default(x, aic = aic, order.max = order.max, na.action = na.action, :
    zero-variance series
    In addition: Warning messages:
    1: In optimise(lambda_coef_var, c(lower, upper), x = x, .period = max(.period, :
    NA/Inf replaced by maximum positive value
    2: In optimise(lambda_coef_var, c(lower, upper), x = x, .period = max(.period, :
    NA/Inf replaced by maximum positive value
    3: In optimise(lambda_coef_var, c(lower, upper), x = x, .period = max(.period, :
    NA/Inf replaced by maximum positive value
    4: In optimise(lambda_coef_var, c(lower, upper), x = x, .period = max(.period, :
    NA/Inf replaced by maximum positive value
    Error in ar.burg.default(x, aic = aic, order.max = order.max, na.action = na.action, :
    zero-variance series
    New names:
    • `` -> ...26
    Warning message:
    2 errors (1 unique) encountered for feature 7
    [2] subscript out of bounds

The subsequent line:
PBS_feat_nomissing <- PBS_feat |> na.omit()
... results in zero rows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions