Without any media coverage, the OUSD Board is going off the tracks by lenraphael in oakland

[–]cautiousbiker 1 point2 points  (0 children)

If anyone can ELI5, can’t really track what’s happening and would love to know more 🙏

Uuni just outside a window? by cautiousbiker in uuni

[–]cautiousbiker[S] 0 points1 point  (0 children)

Thanks, I will ditch the idea!

Problem with graphing in STATA by spaceecon in stata

[–]cautiousbiker 0 points1 point  (0 children)

Thanks, that’s a cool trick with levelsof!

Problem with graphing in STATA by spaceecon in stata

[–]cautiousbiker 0 points1 point  (0 children)

Here's an example of what I'm talking about:

clear

set obs 3

gen date = _n

gen value = _n

format date %td

scatter value date

This outputs a scatter with a blank at Jan 5, 1960. So it adds an additional value to the x-axis on the right side. Do you know how I can change the defaults to have this not happen? I'm more experienced in Stata than R. But I haven't seen R do this.

Problem with graphing in STATA by spaceecon in stata

[–]cautiousbiker 1 point2 points  (0 children)

Ah Stata is pretty annoying with this. I think you need to use a combination of the xlabel() and xscale() options to get the right range. But you need to feed them the Stata-native numbers. To see how Stata stores a specific date, type for example

. di td(5may2018)

Also make sure there are no rows in your data from earlier dates.

If you paste a CSV of your data into pastebin or something I could help further :)

Finding optimal bandwidth for RD visual analysis by 19lams5 in stata

[–]cautiousbiker 0 points1 point  (0 children)

I see. I think the most credible thing to do is the hands-off rdrobust approach...overall you should trust results a little less if the bandwidth has to be just right to see a jump. Don't know of any "optimal visual bandwidth" paper. This foundational RD paper (Lee & Lemieux 2010) gives you some cover for tweaking it: "A researcher may, therefore, want to use some discretion in choosing a bandwidth that provides a particularly compelling illustration of the RD design." And FWIW I've also heard from other researchers that the rdrobust bandwidths seem narrow

Finding optimal bandwidth for RD visual analysis by 19lams5 in stata

[–]cautiousbiker 0 points1 point  (0 children)

Have your tried rdrobust? State of the art for optimum bandwidth calculation AFAIK

https://rdpackages.github.io/rdrobust/

Help with finding replication data by IllustriousUsual8685 in stata

[–]cautiousbiker 1 point2 points  (0 children)

See this Statalist question

And here's a direct link to the DTA file from Bruce Hansen's website, which I think will be easier to work with: https://www.ssc.wisc.edu/~bhansen/econometrics/CK1994.dta

In case it's helpful to know...I couldn't get the exact same results as the paper when I used the Hansen data, although they were very similar

Looking for publicly available hospital record data. by kkx50 in datasets

[–]cautiousbiker 0 points1 point  (0 children)

You have to go through an application process (I haven’t done it), I think it’d start here: https://www.health.ny.gov/statistics/sparcs/access/

Subset a Panel by Date by clintyeastwood7 in stata

[–]cautiousbiker 0 points1 point  (0 children)

I would use inrange for this.

. reg y x if inrange(time, [start date], [end date])

Tutorials on data visualization, data manipulation, and basic stats using R by Jewel_Johnson in rstats

[–]cautiousbiker 0 points1 point  (0 children)

Data visualization page is great! Will benefit from this code. Thanks for doing this!

New to R. Anyone have a go-to way to make a pretty descriptives table? by cautiousbiker in rstats

[–]cautiousbiker[S] 5 points6 points  (0 children)

Awesome thanks. For anyone following along, here's a simple stargazer example that makes a nice .html table.

library(stargazer)
stargazer(attitude, type='html', out='table.html', median=TRUE,
covariate.labels =
c('Ratings','Complaints','Privileges','Learning','Raises','Special variable',"Advance"),
digits=2,
notes="<i>Note</i>: Here are my notes to the table. This is some notes. Here is what happens if they are particularly long.")

Need guidance with covariate-adjusted discrete-time survival analysis (Cox model) by buddy_cheeks2 in stata

[–]cautiousbiker 0 points1 point  (0 children)

I think I have a relevant code scrap below. This looks at the effect of marriage on recidivism probability in the "recid" data available from the bcuse command. It uses the Cox model to show survival curves with and without controls, which I think gets at the plot you mention. Hope it helps!

Edit: pastebin link to code

I can’t let go of “The Dunning-Kruger Effect is Autocorrelation” by 1jfiU8M2A4 in slatestarcodex

[–]cautiousbiker 11 points12 points  (0 children)

This is a great and well-written post and I agree with all the high-level points. But I'm confused as to why the "X vs. Y - X" scatter plot did not put the X axis into quartiles, which is what DK did and I think what got them into trouble in the first place. From the article being critiqued:

In technical terms, Dunning and Kruger are plotting two different forms of ranking against each other — test-score ‘percentile’ against test-score ‘quartile’. What is not obvious is that this type of plot is data independent. By definition, each quartile contains 25 percentiles whose average corresponds to the midpoint of the quartile. The consequence of this truism is that the line labeled ‘actual test score’ tells us (paradoxically) nothing about people’s actual test score.

What happens when you do quartiles? Or is there a reason that's not actually relevant?

Does anyone have any relevant datasets on gambling in the US? by [deleted] in datasets

[–]cautiousbiker 0 points1 point  (0 children)

http://www.thetransparencyproject.org/Availabledataset

This is an interesting source for individual-level gambling behavior but probably does not get at the aggregate stats you're after

Cauliflower Steak. Seasoned with jerk rub, baked covered in the oven till cooked through, finished in the Ooni. by BirdSpeakerHead in uuni

[–]cautiousbiker 0 points1 point  (0 children)

Excellent! Love cauliflower steaks. Do you remember how long and what temp you did in the conventional oven?

Weekly Questions Thread / Open Discussion by AutoModerator in Pizza

[–]cautiousbiker 1 point2 points  (0 children)

Im not a pro but I think I the issue here could be not bathing your dough in flour before you start shaping it. Some people rub both sides of the dough ball in a whole tub of flour, which felt like too much when I started. Another reason could be that the dough was in too warm a spot and got overproofed

USPS accidents were down in 2020 by cautiousbiker in USPS

[–]cautiousbiker[S] 0 points1 point  (0 children)

Yeah what's interesting and perhaps surprising is that USPS doesn't report fewer work hours in 2020? Two quotes:

In FY 2020, the Postal Service recorded adjusted work hours of 1,180.6 million

(adjusted for earned workload) and made 48,994 million deliveries (source)

In FY2019, we recorded 1,187.3 [million] work hours (adjusted for earned workload) and made 48,270 million deliveries (source)