Skip to content

NameError #3

@chrifels

Description

@chrifels

I am quite new in Python ...

When I run your ARMA-Code in Jupyter Notebook, I get an error after block [9] (i.e. acf_vals = acf(first_diff) .....):

NameError Traceback (most recent call last)
in
1 acf_vals = acf(first_diff)
----> 2 plt.bar(range(num_lags), acf_vals[:num_lags])

NameError: name 'num_lags' is not defined

May be you could check it.

Thank you,
Christian

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