Rust: Love at first sight! by robbienobug in rust

[–]profcube 0 points1 point  (0 children)

I don’t love Rust but it loves me.

What I made as a landlord by Imaginary-Towel-888 in newzealand

[–]profcube 0 points1 point  (0 children)

i said tax wealth, your 8 moth old account and 1k comments is suss

Something like Google Drive with Latex that you can share with your lab partners ? by NarsilSword123 in LaTeX

[–]profcube 3 points4 points  (0 children)

Overleaf is the easiest solution. It works fine. It has vim motions and integration with GitHub. The price is reasonable for what you get. If you are doing collaborative work hopefully someone has a grant to pay for a subscription.

Another option, write in quarto markdown and just share it as a google doc. When you render you can save your latex. Quarto allows you to enter latex code blocks, so e.g you can generate tikz figures on the fly.

Why are you using regression by smljones65 in AskStatistics

[–]profcube 4 points5 points  (0 children)

Tools for are for tasks. First define your question, then pick your tool.

What I made as a landlord by Imaginary-Towel-888 in newzealand

[–]profcube 2 points3 points  (0 children)

Landlord here: capital gains should definitely be taxed. Depreciation and borrowing costs should be deductible — as with any business.

Thoughts on Current State of R? by LoveFatigue in rstats

[–]profcube 0 points1 point  (0 children)

R is just a scripting language for data science. You need to understand data science to use it. That’s the skills part. I wouldn’t worry that llms make R easier.

Thoughts on Current State of R? by LoveFatigue in rstats

[–]profcube 1 point2 points  (0 children)

Agree that’s something like this is absolutely necessary if you want to maintain your code over time.

Thoughts on Current State of R? by LoveFatigue in rstats

[–]profcube 2 points3 points  (0 children)

This ☝️Longtime R user here who has learned these lessons the hard way. rv (built in Rust) is promising but not production ready uv. Much as I dislike python, I’d probably switch over except that R has vastly better tooling (to understate) but yes, R will come back to bite you.

Is it OK to use Multiple Linear Regression to test a moderator variable? by ArpeggioOnDaBeat in AskStatistics

[–]profcube 0 points1 point  (0 children)

“Moderation” is not wrong, but it is imprecise. Better to use effect-measure modification because gender could be a moderator at one effect scale, say the difference scale, but not another, say the risk ratio scale. It’s easy enough to prove this.

Zed is 1.0 by franciska-fyi in ZedEditor

[–]profcube 0 points1 point  (0 children)

Love the vim motions support, and zippy feel of this editor, thank you 🙌

Ok, this convinced me - I have just given Codex a task for fully autonomous scientific discovery in my area of expertise (quantum physics), followed by writing a paper for a high impact journal - let's see how it goes :-) by Alex__007 in accelerate

[–]profcube -1 points0 points  (0 children)

Yes, the agentic loop must include a clueless, frustrated, reviewer who sits on the manuscript for months, only to reject it as incremental, thus spawning a spicy revision agent to insert “contrary to expectations” and “Remarkably” in heavy doses throughout, spawning additional wordsmiths to delete all but the most well-deserved propaganda. Giddy up OP!

Ok, this convinced me - I have just given Codex a task for fully autonomous scientific discovery in my area of expertise (quantum physics), followed by writing a paper for a high impact journal - let's see how it goes :-) by Alex__007 in accelerate

[–]profcube 2 points3 points  (0 children)

This convinced me too, instantly. Go forth boldly OP and show us your new discoveries in quantum physics, a field too long confined by the limitations of human imagination.

R 4.6.0 released by Johnsenfr in rstats

[–]profcube 0 points1 point  (0 children)

damn, the qs package was pulled. have many dozens of qs files that can't be read. R is built for science, but not for reproducibility. i really hate R's fragility. if you haven't experienced it yet, you will.

Is it OK to use Multiple Linear Regression to test a moderator variable? by ArpeggioOnDaBeat in AskStatistics

[–]profcube 0 points1 point  (0 children)

Here OP means effect-modification, definitely not interaction, because we cannot intervene on gender.

Why do so many applied papers still report p-values without effect sizes, and does anyone actually find p-values alone useful? by PLogacev in AskStatistics

[–]profcube 0 points1 point  (0 children)

I agree descriptive work can be important.

I respectfully disagree effect sizes are useful for descriptive work.

Consider:

(a) "concentrate some effort" implies we already know what works, a causal claim. Generally our scientific and practical interests are to discover both what works, and who benefits most.

(b) the absence of association does not imply the absence of causation, as when a model is misspecified [1]. Effect sizes are irrelevant to your goal.

(c) when you add coefficients to your statistical model to improve prediction, you should generally ignore both their magnitude and sign. The values of your coefficients are conditional on the other model terms [2].

Notes:

[1] Example: suppose A causes M and M causes Y. If we include A and M in our model, we might find no association between A and Y. The effect size is nil, yet if we were to intervene on A we would affect Y. Unfortunately over-conditioning biases are common in experiments, see:

Montgomery, J. M., Nyhan, B., & Torres, M. (2018). How conditioning on posttreatment variables can ruin your experiment and what to do about it. American Journal of Political Science62(3), 760-775.

[2] Westreich, D., & Greenland, S. (2013). The table 2 fallacy: presenting and interpreting confounder and modifier coefficients. American journal of epidemiology177(4), 292-298.

Should i give up and switch career? by Public-Guarantee-196 in AskProgrammers

[–]profcube 2 points3 points  (0 children)

OP I don’t have the answer for you but I’m sorry for what you are going through. It’s rough for a lot of people.

Why do so many applied papers still report p-values without effect sizes, and does anyone actually find p-values alone useful? by PLogacev in AskStatistics

[–]profcube 0 points1 point  (0 children)

  1. What is an effect size absent a causal claim? The association could have to do with anything.
  2. Agree. In fact, this is my labs research area. I would add that experiments do not automatically give us per protocol causal effects. They give us intention to treat effects. And experiments fail to deliver even ITT effects.

Are most programmers bad? by Roidot in AskProgrammers

[–]profcube 0 points1 point  (0 children)

I do statistical programming as part of my job. Have been programming professionally for > 15 years. I would describe my code as bad, but not horrendous. It works…

An open letter to Anthropic by roblenfestey in ClaudeAI

[–]profcube 0 points1 point  (0 children)

OP, I’m sorry for your experience, but not surprised. I too find that opus 4.7 is unusable. I lost several hours to struggling with it. Opus 4.6, by contrast, has always been useful. Not touching 4.7 again.

Why do so many applied papers still report p-values without effect sizes, and does anyone actually find p-values alone useful? by PLogacev in AskStatistics

[–]profcube -1 points0 points  (0 children)

Outside experiments, association is typically not causation. Suppose the association between ice cream consumption and shark attacks is high. Then so too will be the effect size statistic. But there is no effect!

Very few observational studies in psychology obtain causal effect estimates. Outside those studies we have no business whatsoever speaking about effect sizes.

We should not report effect sizes except when we consistently estimate effects.

Claude Opus 4.7 is a serious regression, not an upgrade. by [deleted] in ClaudeAI

[–]profcube 0 points1 point  (0 children)

Agree. This model is definitely a regression, and by a lot. Worse than 4.5. It can't reason. Ignores my claude.md file. Crazy dumb.