accepted_answer dict | other_answers listlengths 0 5 | product stringclasses 1
value | question stringlengths 163 23k | record_id stringlengths 37 37 | selected_answer dict | selection_rule stringclasses 1
value | split stringclasses 1
value | thread dict |
|---|---|---|---|---|---|---|---|---|
{
"answer_html": "<p>Concurvity is only really an issue if it causes the estimated effects of other terms to change qualitatively when you remove one of the concurved terms.</p>\n<p>In this instance, I don't see why you need to decompose the 2d function <span class=\"math-container\">$f(\\text{time}, \\text{z})$</spa... | [] | statistics_qa | I have repeated-measures data — multiple observations per subject over time — and a covariate that is constant within subject (e.g., a baseline characteristic measured once). My model includes a subject-level random intercept and I want to test whether this covariate's association with the outcome changes over time.
... | Scientific-Statistics-QA:stats:676821 | {
"answer_html": "<p>Concurvity is only really an issue if it causes the estimated effects of other terms to change qualitatively when you remove one of the concurved terms.</p>\n<p>In this instance, I don't see why you need to decompose the 2d function <span class=\"math-container\">$f(\\text{time}, \\text{z})$</spa... | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {
"accepted_answer_id": 676825,
"answers": [
{
"answer_html": "<p>Concurvity is only really an issue if it causes the estimated effects of other terms to change qualitatively when you remove one of the concurved terms.</p>\n<p>In this instance, I don't see why you need to decompose the 2d function <span c... |
null | [] | statistics_qa | The following is a multivariate Student's t distribution
$$ p_{\sigma^2}(\mathrm{x})= {\displaystyle {N_{\nu,\sigma^2}}\left[1+\frac{1}{\nu\sigma^2}\sum_{i=1}^nx_i^2\right]^{-(\nu +n)/2}}, \;\mathrm{x}=[x_1,\cdots,x_n]^{\top}\in \mathbb{R}^n,\;\nu>2,$$ where $N_{\nu,\sigma^2}=\frac {\Gamma \left[(\nu +n)/2\right]}{\Gam... | Scientific-Statistics-QA:stats:676824 | {
"answer_html": "<p><strong>I offer an elementary solution.</strong> It requires one substitution in an ordinary integral which, when repeated for each variable, yields a product of Beta function values.</p>\n<p>There are other solutions that might provide simpler formulas but are less elementary (<em>e.g.</em>, us... | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p><strong>I offer an elementary solution.</strong> It requires one substitution in an ordinary integral which, when repeated for each variable, yields a product of Beta function values.</p>\n<p>There are other solutions that might provide simp... |
null | [] | statistics_qa | Is Kaplan–Meier appropriate when multiple observations come from the same contributor?
I would appreciate advice from researchers familiar with survival analysis and clustered/repeated observations.
I am analyzing GitHub pull requests (PRs) to study whether a contributor's time to submit their next PR differs d... | Scientific-Statistics-QA:stats:676830 | {
"answer_html": "<blockquote>\n<p>I am considering using Kaplan–Meier curves and the log-rank test to compare the time-to-next-PR distributions between abandoned and non-abandoned focal PRs.</p>\n</blockquote>\n<p>That could be a start, but it won't allow you to incorporate additional predictors that might affect th... | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<blockquote>\n<p>I am considering using Kaplan–Meier curves and the log-rank test to compare the time-to-next-PR distributions between abandoned and non-abandoned focal PRs.</p>\n</blockquote>\n<p>That could be a start, but it won't allow you to... |
{
"answer_html": "<p>It is still true that the asymptotic null distribution of the LRT is the null distribution of a local Gaussian shift alternative. In your <span class=\"math-container\">$N(\\mu,\\sigma^2)$</span> example that means the asymptotic null distribution is the same as testing <span class=\"math-contai... | [] | statistics_qa | In fact I doubt if such kind of hypothesis test will be used in real work, but just out of curiosity I have a question on the property of such test.
Question. Consider an $n$-dimensional parameter $\theta= (\theta_1, \cdots, \theta_n)\in \Theta$ where $\Theta$ is an open subset in $\mathbb R^n$, and the hypothesis
... | Scientific-Statistics-QA:stats:676842 | {
"answer_html": "<p>It is still true that the asymptotic null distribution of the LRT is the null distribution of a local Gaussian shift alternative. In your <span class=\"math-container\">$N(\\mu,\\sigma^2)$</span> example that means the asymptotic null distribution is the same as testing <span class=\"math-contai... | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {
"accepted_answer_id": 676849,
"answers": [
{
"answer_html": "<p>It is still true that the asymptotic null distribution of the LRT is the null distribution of a local Gaussian shift alternative. In your <span class=\"math-container\">$N(\\mu,\\sigma^2)$</span> example that means the asymptotic null dist... |
{
"answer_html": "<p>The scale parameter is routinely analysed in survival models, because the scale parameter is a location parameter for <span class=\"math-container\">$\\log T$</span>. Accelerated-failure models are of the form\n<span class=\"math-container\">$$\\log T_i=x_t\\beta+\\log T_{0i}$$</span>\nwhere <sp... | [
{
"answer_html": "<p>To see more about the basis for Thomas Lumley's answer, look at these <a href=\"https://grodri.github.io/survival/ParametricSurvival.pdf\" rel=\"nofollow noreferrer\">course notes</a> by Germán Rodríguez. They start with the general form for accelerated-failure-time (AFT) models* in Prof. L... | statistics_qa | Here is a Weibull proportional hazards model:
$$h(t \mid \mathbf{x}) = h_0(t)\,\exp(\boldsymbol{\beta}^\top \mathbf{x}) = \gamma \lambda\, t^{\gamma - 1} \exp(\boldsymbol{\beta}^\top \mathbf{x})$$
Is statistical inference ever performed on the shape and scale parameters ($\gamma, \lambda $)? For example, do res... | Scientific-Statistics-QA:stats:676855 | {
"answer_html": "<p>The scale parameter is routinely analysed in survival models, because the scale parameter is a location parameter for <span class=\"math-container\">$\\log T$</span>. Accelerated-failure models are of the form\n<span class=\"math-container\">$$\\log T_i=x_t\\beta+\\log T_{0i}$$</span>\nwhere <sp... | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {
"accepted_answer_id": 676856,
"answers": [
{
"answer_html": "<p>The scale parameter is routinely analysed in survival models, because the scale parameter is a location parameter for <span class=\"math-container\">$\\log T$</span>. Accelerated-failure models are of the form\n<span class=\"math-container... |
null | [] | statistics_qa | "I am trying to evaluate which environmental variables drive variation in microbial communities. I h(...TRUNCATED) | Scientific-Statistics-QA:stats:676858 | {"answer_html":"<p>There are two options for testing ordination models in <em>vegan</em>:</p>\n<ol>\(...TRUNCATED) | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {"accepted_answer_id":null,"answers":[{"answer_html":"<p>There are two options for testing ordinatio(...TRUNCATED) |
{"answer_html":"<p>Your approach is perfectly reasonable. It is true that using a caliper changes th(...TRUNCATED) | [] | statistics_qa | "I was using full matching (using MatchIt, method = \"full\") to estimate the ATE. Now I want to ext(...TRUNCATED) | Scientific-Statistics-QA:stats:676867 | {"answer_html":"<p>Your approach is perfectly reasonable. It is true that using a caliper changes th(...TRUNCATED) | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {"accepted_answer_id":676905,"answers":[{"answer_html":"<p>Your approach is perfectly reasonable. It(...TRUNCATED) |
null | [] | statistics_qa | "I am studying the following problem from an exam.\n\n\n\n\nA system consists of two subsystems conn(...TRUNCATED) | Scientific-Statistics-QA:stats:676870 | {"answer_html":"<p>You are correct that the probability of component <span class=\"math-container\">(...TRUNCATED) | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {"accepted_answer_id":null,"answers":[{"answer_html":"<p>You are correct that the probability of com(...TRUNCATED) |
null | [] | statistics_qa | "Let's say you have a classic mixture model and you want to use a Gibbs sampler over the parameters (...TRUNCATED) | Scientific-Statistics-QA:stats:676879 | {"answer_html":"<p>If you run a plain Gibbs on a classic mixture model, you face the paradox that th(...TRUNCATED) | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {"accepted_answer_id":null,"answers":[{"answer_html":"<p>If you run a plain Gibbs on a classic mixtu(...TRUNCATED) |
{"answer_html":"<p>As comments to the question already mentioned, the question is ill-posed. The fir(...TRUNCATED) | [] | statistics_qa | "In most introductory sampling problems involving proportions, it is typically assumed that there is(...TRUNCATED) | Scientific-Statistics-QA:stats:676888 | {"answer_html":"<p>As comments to the question already mentioned, the question is ill-posed. The fir(...TRUNCATED) | accepted; otherwise maximum score >= 1, tie lowest ID; no correctness label | train | {"accepted_answer_id":676891,"answers":[{"answer_html":"<p>As comments to the question already menti(...TRUNCATED) |
RegalFire Statistical methods QA
RegalFire — AI Data Foundry
89 compact source-grounded statistical QA records. Accepted answers are distinguished from community-score fallbacks.
Verified scope
Records: 89; distinct source threads: 89; unique answers represented: 130. Domain thread counts: {"statistics": 89}. Actual record splits: {"train": 59, "test": 11, "validation": 8, "holdout": 11}.
Each record includes a canonical thread, all source answers, author attribution, original HTML, mechanically converted text, revisions and raw hash/API provenance. record_id is the primary key; thread_id is site-qualified, while original numeric question/answer IDs are retained. Citation record counts count edges; answer/thread totals are deduplicated within the product.
Sources and licensing
Official Stack Exchange API 2.3 source snapshots from Cross Validated (stats), Computational Science (scicomp) and Biology (biology), as applicable to the recorded domain distribution. Native new capture windows used the 100 most recently created answered questions for Stats and Scicomp. Biology reuses a deterministic 100-thread sample from the previously validated local capture; the original public Biology repo is unchanged. After source and additional cross-post sensitivity exclusions, the family source corpus contains 288 threads.
All retained current question and answer contributions explicitly returned CC BY-SA 4.0. This is verified per post, not assumed for historical posts. Bionic raw contained 2.5/3.0 contributions but lacked sufficient independently captured provenance/revisions; those inputs are excluded. Historical revision license fields, when supplied, are retained. See SOURCE_LICENSE_AUDIT.json and official source licensing.
Keep question titles, Biology/Computational Science/Cross Validated source identity, contributor names and available profile links, original post URLs, license links and transformation notices when redistributing. Each thread includes revision contributors and their source identifiers. Null profiles mean unavailable/deleted information; no profile is invented. Share adaptations under the applicable same or compatible license and impose no additional restrictions. Packaging does not replace source ownership or licensing. Third-party quotations and referenced images/papers may have separate rights; external assets are not downloaded or repackaged.
Deterministic product rules
QA chooses an accepted answer when present, otherwise maximum community score >=1 with lowest answer ID as tie breaker. accepted_answer remains null for a score-based fallback. Ranking requires at least two answers. RAG signals describe counts, acceptance, scores, references and time spans: they are not semantic disagreement annotations, verified difficulty or correct-answer labels. Code selection uses preformatted blocks of at least 20 characters with a documented code-syntax screen. Language is explicitly unspecified; snippets may be incomplete/pseudocode and are not executed. Citation extraction uses literal external URLs/DOI-like strings; context is a literal ±100-character text window or null when only HTML contains the reference. No DOI resolution, paper download or citation correctness claim.
Transformations and privacy
No LLM rewriting. Original API HTML remains intact. Text mechanically decodes HTML entities, preserves source text, code whitespace and TeX strings, adds literal link destinations and image-reference markers, and flattens superscript/subscript formatting. Code blocks retain exact decoded preformatted contents with SHA-256. Treat HTML/links/code as untrusted; sanitize rendered HTML and never execute snippets without a sandbox.
Patient-specific/personal medical histories, direct treatment requests and email-like identifiers are screened across both questions and answers and excluded by an English heuristic. General scientific medical discussions can remain with sensitivity flags. This is not comprehensive PII detection or clinical review. No medical advice. Rejections contain IDs/URLs/reasons without the excluded bodies. SENSITIVITY_REPORT.json describes the family screen.
Splits and overlap
One shared source-thread grouping is used by all five family products: normalized title/body/exact answer hashes and exhaustive question word-trigram Jaccard >=0.80 unite obvious duplicates. SHA-256 buckets assign 70/10/10/10 train/validation/test/holdout; observed proportions vary. Every occurrence of a thread has the same split across products. Products overlap intentionally; do not add their volumes as unique source content or concatenate one product’s held-out records into another’s training. These are publicly available forum posts: holdout is not a contamination-resistant private benchmark and lexical checks do not guarantee absence of semantic paraphrases.
Validation and reproducibility
Independent source verifiers check schema, UTF-8, author/revision attribution, actual license fields, HTTP/raw hashes, HTML/text preservation, unique IDs, complete answers and accepted consistency. A separate product engine checks eligibility, code/citation extraction, source equality, duplicates, exact split files and leakage. Five product-specific validator entry points use this engine; no builder is imported. The family passed 15 controlled corruption tests and byte-identical regeneration. validation_report.json records this product’s results; ROBUSTNESS_REPORT.json records family tests.
Run python validate_dataset.py --source-root <scientific_product_factory> with the local capture archive and source pipelines. Full raw/source validation requires that archive. Public release files omit raw bodies containing excluded data; SOURCE_MANIFEST.json records their hashes, API URLs and collection times. Fresh API collection can differ from the original snapshot. MANIFEST.json hashes every release file except itself.
Intended use and limitations
Statistical search assistants, internal analytics documentation and provenance-aware QA. No expert scientific correctness labels, model accuracy claims, validated code execution, clinical review or resolved-citation guarantees. Community votes are not scientific truth. This is a bounded starter evaluation corpus; expansion depends on source completeness, licensing and available API quota. Statistical QA/code subsets are small and recent; do not treat them as representative of a whole research discipline.
Custom / Private Dataset Work
RegalFire builds custom AI datasets, evaluation sets and reproducible data pipelines for research and production systems.
Client-specific modelling domains, internal statistical documentation integration, custom schemas and private QA/holdout suites.
Contact: ootiris@gmail.com Hugging Face: RegalFire
- Downloads last month
- 51