I have some big plans coming up in the future. (Stay tuned for those.) In preparation, I was pulling together some statistics for my blog and was curious to see how my blog views have increased over time as I try to do more with social media and sharing my posts in places where target readers tend to congregate. I had a feeling my monthly readership has increased but I wasn't sure by how much.
Turns out, quite a bit. Here's a line graph I put together showing monthly readership over the last 12 months, May 2017 to April 2018.
I've jumped from a low of 3,712 last May to over 34,000 last month. There are definite dips in different months, which I know align with times I haven't been blogging as much and/or wasn't sharing my posts as widely, but things are on a definite upward trend.
Keep writing, keep sharing. And stay tuned for more!
Thursday, May 10, 2018
Wednesday, May 9, 2018
Updates
Since 2005 or 2006, I've been going to a place called Beer Bistro. We hang out there after (and sometimes before) choir rehearsal and I met my husband here in 2007. I found out it's closing this week. After all the memories I have of this place, it feels like a chapter of my life is closing. I had to go back one last time, so I visited last night after work, enjoying it in my favorite way to enjoy a bar: with a beer and a book.
This morning, I received my feedback from the 2nd round of the NYC Midnight Short Story Competition - my 1st round story came in 3rd in my heat, with the top 5 in each heat advancing. In round 2, only the top 3 advance. My story came in 1st in my heat!
Round 3 assignments release Friday night and I'll have 24 hours to write a 1500 word short story. This is also the weekend I'll be working all day Saturday, so this is going to be a busy weekend. I suspect I'll be staying up late Friday to get as much writing as I can done, then work on it more during my commute Saturday morning and breaks/lunch during the day Saturday.
This morning, I received my feedback from the 2nd round of the NYC Midnight Short Story Competition - my 1st round story came in 3rd in my heat, with the top 5 in each heat advancing. In round 2, only the top 3 advance. My story came in 1st in my heat!
Round 3 assignments release Friday night and I'll have 24 hours to write a 1500 word short story. This is also the weekend I'll be working all day Saturday, so this is going to be a busy weekend. I suspect I'll be staying up late Friday to get as much writing as I can done, then work on it more during my commute Saturday morning and breaks/lunch during the day Saturday.
Tuesday, May 8, 2018
Monday, May 7, 2018
New Database, Who Dis?
Next week, my company is launching a new database to maintain our many records: anyone who has taken one of our exams, certificants (people who have completed sets of exams that entitle them to a certificate), schools, companies, and so on. Our old system, which I found out today is 20 years old, goes down Wednesday evening, and then we'll begin transferring over 4 million records into the new system. (We've done some test runs of transferring data and extensive mapping for many months now. And I've been scoring and QCing exams in a Dev environment for almost that long.)
It's been a long, busy process to get to this point, working with multiple vendors, and I've been spending the last several months preparing us to score our exams in the new system. This project has been good practice for, among other things, understanding how we convert Rasch scores to our standard scaling, how we create item strings for scoring computer adaptive exams, and keeping my SQL skills fresh. And since I'm currently a one-person department, as a coworker is out on maternity leave and another left to take another job, I'm completing job tasks for 2.5 to 3 people every day, on top of database stuff.
Blogging will likely be on hold this week and I may not have a Statistics Sunday post, since I'll be working all-day Saturday and most/all of Sunday. But I'll see if I can squeeze some time in for something.
It's been a long, busy process to get to this point, working with multiple vendors, and I've been spending the last several months preparing us to score our exams in the new system. This project has been good practice for, among other things, understanding how we convert Rasch scores to our standard scaling, how we create item strings for scoring computer adaptive exams, and keeping my SQL skills fresh. And since I'm currently a one-person department, as a coworker is out on maternity leave and another left to take another job, I'm completing job tasks for 2.5 to 3 people every day, on top of database stuff.
Blogging will likely be on hold this week and I may not have a Statistics Sunday post, since I'll be working all-day Saturday and most/all of Sunday. But I'll see if I can squeeze some time in for something.
Sunday, May 6, 2018
Statistics Sunday: Tokenizing Text
In text analysis, a token is any kind of meaningful text unit that can be analyzed. Frequently, a token is a word and the process of tokenizing splits up the text into individual words and counts up how many times each word appears in the text. But a token could also be a phrase (such as each two-word combination present in a text, which is called a bi-gram), a sentence, a paragraph, even a whole chapter. Obviously, the size of the token you choose impacts what kind of analysis you can do. Generally, people choose smaller tokens, like words.
Let's use R to download the text of a classic book (which I did previously in this post, but today, I'll do in an easier way) and tokenize it by word.
Any text available in the Project Gutenberg repository can be downloaded, with header and footer information stripped out, with the guternbergr package.
install.packages("gutenbergr")
library(gutenbergr)
The package comes with a dataset, called gutenberg_metadata, that contains a list, by ID, of all text available. Let's use The War of the Worlds by H.G. Wells as our target book. We can find our target book like this:
library(tidyverse)
## ── Attaching packages ────────────────────────────────────────────────────────────────────────────────────────────── tidyverse 1.2.1 ──
## ✔ ggplot2 2.2.1 ✔ purrr 0.2.4 ## ✔ tibble 1.4.2 ✔ dplyr 0.7.4 ## ✔ tidyr 0.8.0 ✔ stringr 1.3.0 ## ✔ readr 1.1.1 ✔ forcats 0.3.0
## ── Conflicts ───────────────────────────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ── ## ✖ dplyr::filter() masks stats::filter() ## ✖ dplyr::lag() masks stats::lag()
gutenberg_metadata %>% filter(title == "The War of the Worlds")
## # A tibble: 3 x 8 ## gutenberg_id title author gutenberg_autho… language gutenberg_books… ## <int> <chr> <chr> <int> <chr> <chr> ## 1 36 The Wa… Wells, … 30 en Movie Books/Sci… ## 2 8976 The Wa… Wells, … 30 en Movie Books/Sci… ## 3 26291 The Wa… Wells, … 30 en <NA> ## # ... with 2 more variables: rights <chr>, has_text <lgl>
The ID for The War of the Worlds is 36. Now I can use that information to download the text of the book into a data frame, using the gutenbergr function, gutenberg_download.
warofworlds<-gutenberg_download(36)
## Determining mirror for Project Gutenberg from http://www.gutenberg.org/robot/harvest
## Using mirror http://aleph.gutenberg.org
Now I have a dataset with two variables: one containing the Project Gutenberg ID for the text (which is helpful if you create a dataset with multiple texts, perhaps all by the same author or within the same genre) and one containing a line of text. To tokenize our dataset, we need the R package, tidytext.
install.packages("tidytext")
library(tidytext)
We can tokenize with the function, unnest_tokens: first we tell it to do so by word then we tell it which column to look in to find the tokens.
tidywow<-warofworlds %>% unnest_tokens(word, text)
Now we have a dataset with each word from the book, one after the other. There are duplicates in here, because I haven't told R to count up the words. Before I do that, I probably want to tell R to ignore extremely common words, like "the," "and," "to," and so on. In text analysis, these are called stop words, and tidytext comes with a dataset called stop_words that can be used to drop stop words from your text data.
tidywow<-tidywow %>% anti_join(stop_words)
## Joining, by = "word"
Last, we have R count up the words.
wowtokens<-tidywow %>% count(word, sort=TRUE) head(wowtokens)
## # A tibble: 6 x 2 ## word n ## <chr> <int> ## 1 martians 163 ## 2 people 159 ## 3 black 122 ## 4 time 121 ## 5 road 104 ## 6 night 102
After removing stop words, of which there may be hundreds or thousands in any text, the most common words are: Martians, people, black, time, and road.
Thursday, May 3, 2018
The Pillars of Creation
About 7,000 light years away are the Pillars of Creation, a collection of clouds and dust in the Eagle Nebula. Inside the pillars, gravity works to pull the gas onto new and existing stars, while heat from internal and external stars expel and evaporate the gas. The picture (actually a composite of many pictures) of the pillars taken in 1995 is perhaps one of the most famous pictures of objects in space:
In 2007, NASA released the results of a study saying the Pillars of Creation were toppled about 6,000 years ago, when a star went supernova about 8,000 years ago, destroying the pillars over the next 2,000 years. Because the pillars are 7,000 light years away, we won't be able to see that they've been destroyed for another 1,000 years.
However, an article by Ethan Siegel suggests the pillars have not been destroyed after all:
Time to witness another great instance of birth/rebirth - the editing of a Wikipedia article. When I checked just now, the nebula article still states the pillars have been destroyed. Let's see how long it takes for that to change:
In 2007, NASA released the results of a study saying the Pillars of Creation were toppled about 6,000 years ago, when a star went supernova about 8,000 years ago, destroying the pillars over the next 2,000 years. Because the pillars are 7,000 light years away, we won't be able to see that they've been destroyed for another 1,000 years.
However, an article by Ethan Siegel suggests the pillars have not been destroyed after all:
At 7,000 light years away, the Eagle Nebula is one of the night sky’s most accessible and spectacular nebulae. It was discovered back in 1745, and shortly thereafter was recognized to be an active star-forming region, as the surefire signature of ionized hydrogen was seen in abundance. A large cluster of newborn stars can be found inside, consisting of over 8,000 stars, which is the primary cause of the nebula’s shape.Here's how the pillars looked in the 2015 photo:
[I]n 2015, to celebrate Hubble’s 25th anniversary in space, NASA revisited these pillars, and the 20 year baseline between the original 1995 image and the new 2015 one provided insights that strongly refuted the already-destroyed pillars theory.
The 20-year follow-up showcased not only features that couldn’t be seen before, such as additional details, greater wavelength coverage, and a larger field of view. But the greatest and most important advance is the fact that the 20-year baseline allowed us to view changes over time. In the tip of the largest pillar, for example, we were able to not only identify an ejected jet, but to track the extent of its changes. With the incredible resolution of Hubble, we could determine that the size of it, over that additional time, expanded by an extra 100 billion kilometers: 1000 times the Earth-Sun distance, meaning that the stream is moving at 200 km/s.
Moreover, the best evidence for changes comes at the base of the pillars, indicating an evaporation time on the order of between 100,000 and 1,000,000 years. The idea that the pillars have already been destroyed has been demonstrated not to be true. It’s one of the great hopes of science that any controversial claims will be laid to rest by more and better data, and this is one situation where that has paid off in spades. Not only has there not been a supernova that’s in the process of destroying the pillars, but the pillars themselves should be robust for a long time to come.
Time to witness another great instance of birth/rebirth - the editing of a Wikipedia article. When I checked just now, the nebula article still states the pillars have been destroyed. Let's see how long it takes for that to change:
Subscribe to:
Posts (Atom)



.png)



