The Wayback Machine - https://web.archive.org/web/20211017100028/https://github.com/topics/stringr
Skip to content
#

stringr

Here are 23 public repositories matching this topic...

This open-source, R-based web application allows the conversion of video captions (subtitles) from the Web Video Text Tracks (WebVTT) Format into plain texts. For this purpose, users upload a WebVTT file with the extension of 'vtt' or 'txt'. Automatically, metadata such as timestamps are removed, and the text is formatted.

  • Updated Aug 19, 2021
  • R

My role in this group project was to perform regression analysis on quarterly financial data to predict a company's market capitalization. I used R to develop ordinary least squares (OLS), stepwise, ridge, lasso, relaxed lasso, and elastic net regression models. I first used stepwise and OLS regression to develop a model and examine its residual plots. The plot displaying the residuals against the predicted values indicated multiplicative errors. I, therefore, took the natural log transformation of the dependent variable. The resulting model's R2 was significantly, negatively impacted. After examining scatter plots between the log transformation of market capitalization and the independent variables, I discovered the independent variables also had to be transformed to produce a linear relationship. Using the log transformation of both the dependent and independent variables, I developed models using all the regression techniques mentioned to strike a balance between R2 and producing a parsimonious model. All the models produced similar results, with an R2 of around .80. Since OLS is easiest to explain, had similar residual plots, and the highest R2 of all the models, it was the best model developed.

  • Updated Jun 29, 2021

Improve this page

Add a description, image, and links to the stringr topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the stringr topic, visit your repo's landing page and select "manage topics."

Learn more