Git Product home page Git Product logo

atsa-labs's People

Contributors

eeholmes avatar eric-ward avatar ericward-noaa avatar guidel96 avatar kaskales avatar mdscheuerell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

atsa-labs's Issues

HW (9.13) Problem #1

Should we be looking at and interpreting each model (with 1-4 state processes) or just the one the with most support?

Typo in "2.2 Matrix Form 1"

Pretty much at the end of the page for "2.2. Matrix Form 1", when we want to solve for "D", I think, the "D" in the formula is misspelled as "d = ...", while it should be a "D" (big d instead of small d).

Problem Chapter 12 fix.

Hi, thank you for sharing such a great lecture note, it really helps me understanding the JAGS model. But I've got two questions here.

  1. Chapter 12.3 “tau.cor <- tau.obs / (1-phi*phi)”: After drawing the DAG and considering the context, I think it should be "tau.cor <- tau.obs * (1-phi*phi)".
  2. Chapter 12.4 "E[y_t] = y_{t-1} + e_{t-1}": As the expectation of y_t is a constant, I think maybe it's better to change it to be "E[y_t] = y_{t-1}" and "y_t = y_{t-1} + e_{t-1}".

Thank you again for providing such a clear note and good examples!

DLM HW Problems 3 & 4

The fitted process variance of the coefficients for PDO are 0.00. It seems really unlikely that this would be the "best fit" value, and of course the fits to the data don't look good. Any idea what I could be doing wrong? Happy to post code here or email it.

Problems chapter 1.7 fix.

Problem 1.7.1 states "Build a 4×3 matrix with the numbers 1 through 4 in each row."

But it should be one of the following options:
"Build a 4×3 matrix with the numbers 1 through 4 in each column."
or
"Build a 3×4 matrix with the numbers 1 through 4 in each row."

Knitr and inline equations

I know you said not to fuss with markdown, but I'd like some help debugging what's going on here.

Code, copy-pasted from the lab Rmd file.
Using Form 1 $\yy=\ZZ\xx+\ee$, write out the model, showing the $\ZZ$ and $\xx$ matrices, being fit by this command.

The inline equations are not knitting properly, and it happens if I just knit the lab Rmd file, so I assume it must be a setting I have or a package that isn't loaded?
screen shot 2019-01-14 at 7 36 05 am

Thanks!

big picture questions

I might be the only one having these questions, and if that's the case, I apologize, but after mostly working through the homework questions, I'm realizing I have a few big-picture gaps in my understanding that I'm hoping we can spend a few minutes reviewing in lecture.

Mainly, I'm missing the link between fitting arima models, determining the model order, getting parameters, and then interpreting what the model orders and parameters mean for a plain-language statement about whatever trend we're observing. For example, when we see that our best model is (1,2,3) or (2,1,2) with a seasonal lag, what do we say about the overall trend in landings? And what is the interpretation of the ar/ma parameter estimates? Or is it less about making a statement about the observed trend and more about predicting forward? Or both?

Admittedly I'm only caught up on about half of last week's reading, so maybe that would help, but thanks!

Two quick (project-related) questions

  1. I'm trying to use my own data in the linear filtering example, and was wondering if there was a clever way to implement the code in 3.6 in a multi-variate example. What if we wanted to look at the trends for air passengers and train passengers side-by-side?

  2. What would be the best way to systematically test the best lag times for covariates? My project is on monthly marine mammal strandings and oceanographic conditions, and I have looked at glm models with some of these data, but I don't have a sense for how to test different lag times for ocean covariates. Maybe once I honed in on significant predictors using glm(), I could then put those into a marss() model and look at AIC values for different lag times? Would the ccf examples of the lynx and sun spots help me with this?

Happy to hold my questions for in-person if the answer is more involved.

Thanks!

Model fit section 7.3.2

I'm still at the beginning stages of working my way through the homework/lab, but one question - in section 7.3.2 Model Fitting for harbor seals as one big population, it says 'the model fits fine', but I'm not sure I'm understanding how we're gauging that based on MARSS() output. Is it the 'Success!' message? What would it look like if the model fit poorly or didn't converge?

plotting/formatting question

Sort of a stupid question... Do the four-layer decomposition plots not clump together? In other words, this code doesn't work - the plots all pop up independently rather than in a 2x2 grid.

par(mfrow = c(2,2), oma=c(0,0,0,0), mar=c(1,1,1,1))
plot <- plot(decomp_hs, yax.flip = TRUE, xlab = 'Harbor seal')
plot <- plot(decomp_csl, yax.flip = TRUE, xlab = 'California sea lion')
plot <- plot(decomp_ssl, yax.flip = TRUE, xlab = 'Steller sea lion')
plot <- plot(decomp_sp_cet, yax.flip = TRUE, xlab = 'Dalls porpoise')

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.