Skip to content

Instantly share code, notes, and snippets.

@anita-owens
anita-owens / games_forecast.csv
Last active March 24, 2022 06:02
Games dataset forecast
advertising price forecast
Low PriceLow 29.67
Low PriceMedium 19
Low PriceHigh 14
Medium PriceLow 30
Medium PriceMedium 22.67
Medium PriceHigh 13
High PriceLow 51
High PriceMedium 35.33
High PriceHigh 13
@anita-owens
anita-owens / peanutbutter_forecast.csv
Last active February 28, 2022 09:13
Peanut Butter Sales Forecast
Sales with: Forecast
No advertising 80.67
With advertising 158.33
No coupon 109
With coupon 130
@anita-owens
anita-owens / anova_forecast
Created January 26, 2022 12:00
Forecasting with One-way ANOVA in R
---
title: "Forecasting with ANOVA in R"
output:
html_document:
df_print: paged
---
## How use one-way ANOVA for forecasting in R
@anita-owens
anita-owens / Forecast Future Data
Created October 24, 2021 18:31
Forecast Future Data
#Step 5 (Alternative): Specify the h or horizon to get a forecast into the future, but if using xregs (independent regressors), you must create a new dataframe with the xregs.
#forecast on the new tibble
forecast_tbl_future_data <- calibration_tbl %>%
modeltime_forecast(
new_data = explanatory_data
)
#plot forecast for the next 3 months
plot_modeltime_forecast(forecast_tbl, .interactive = TRUE)

bar Chart

The chart is generated from an JS object (skills) & animates on load

  • edit: Add New skill

A Pen by Alex on CodePen.

License.

@anita-owens
anita-owens / Animated chart with jQuery.markdown
Last active October 8, 2015 03:51
Animated chart with jQuery
@anita-owens
anita-owens / Portfolio project page.markdown
Created October 7, 2015 16:16
Portfolio project page

Portfolio project page

Trying to make a minimal portfolio project page with an image cover à la Medium.com (of course it's about a kitten). No Javascript.

A Pen by Damiano Gui on CodePen.

License.