sajor2000/methodsmith / plugins/methodsmith/skills/method-model-choice
method-model-choice
VerifiedChooses and justifies the statistical model (regression, mixed/GEE, survival, causal, prediction, Bayesian) after the estimand is set. Use when the user asks which model to fit.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.8 KB |
| agents/openai.yaml | config | 252 B |
| references/advanced-models.md | markdown | 4.7 KB |
| references/evidence-access.md | markdown | 3.4 KB |
| references/forward-temporal-validation.md | markdown | 1.5 KB |
| references/mixed-effects.md | markdown | 8.1 KB |
| references/ml-prediction-decisions.md | markdown | 3.0 KB |
| references/ml-prediction-decisions.schema.json | config | 3.4 KB |
| references/ml-training-protocol.md | markdown | 23.4 KB |
| references/model-routing.md | markdown | 8.1 KB |
| references/python-implementation.md | markdown | 3.6 KB |
| references/r-implementation.md | markdown | 2.9 KB |
references/ml-prediction-decisions.schema.json
View on GitHub{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Methodsmith prediction decisions, version 1.0",
"type": "object",
"additionalProperties": false,
"required": ["schema_version", "status", "validation", "tuning", "sample_size", "calibration", "fixture_counts", "unresolved"],
"properties": {
"schema_version": {"const": "1.0"},
"status": {"enum": ["blocked", "provisional", "ready_for_review"]},
"validation": {
"type": "object",
"additionalProperties": false,
"required": ["scheme", "outer_unit"],
"properties": {
"scheme": {"enum": ["internal_external_cv", "nested_cv", "held_out", "bootstrap", "other", null]},
"outer_unit": {"type": ["string", "null"], "minLength": 1}
}
},
"tuning": {
"type": "object",
"additionalProperties": false,
"required": ["objective", "inside_resampling"],
"properties": {
"objective": {"type": ["string", "null"], "minLength": 1},
"inside_resampling": {"type": ["boolean", "null"]}
}
},
"sample_size": {
"type": "object",
"additionalProperties": false,
"required": ["method", "inputs"],
"properties": {
"method": {"enum": ["riley", "simulation", "other", null]},
"inputs": {
"type": ["object", "null"],
"additionalProperties": false,
"required": ["patients", "events", "candidate_predictors"],
"properties": {
"patients": {"$ref": "#/$defs/count"},
"events": {"$ref": "#/$defs/count"},
"candidate_predictors": {"$ref": "#/$defs/count"}
}
}
}
},
"calibration": {
"type": "object",
"additionalProperties": false,
"required": ["methods"],
"properties": {
"methods": {"type": ["array", "null"], "minItems": 1, "items": {"type": "string", "minLength": 1}}
}
},
"fixture_counts": {
"type": "object",
"additionalProperties": false,
"required": ["patients", "events", "sites", "candidate_predictors"],
"properties": {
"patients": {"$ref": "#/$defs/count"},
"events": {"$ref": "#/$defs/count"},
"sites": {"$ref": "#/$defs/count"},
"candidate_predictors": {"$ref": "#/$defs/count"}
}
},
"unresolved": {"type": "array", "items": {"type": "string", "minLength": 1}}
},
"allOf": [{
"if": {"properties": {"status": {"const": "ready_for_review"}}},
"then": {
"properties": {
"validation": {"properties": {"scheme": {"type": "string"}, "outer_unit": {"type": "string"}}},
"tuning": {"properties": {"objective": {"type": "string"}, "inside_resampling": {"type": "boolean"}}},
"sample_size": {"properties": {
"method": {"type": "string"},
"inputs": {"type": "object", "properties": {
"patients": {"type": "integer"}, "events": {"type": "integer"}, "candidate_predictors": {"type": "integer"}
}}
}},
"calibration": {"properties": {"methods": {"type": "array"}}},
"fixture_counts": {"properties": {
"patients": {"type": "integer"}, "events": {"type": "integer"},
"sites": {"type": "integer"}, "candidate_predictors": {"type": "integer"}
}},
"unresolved": {"maxItems": 0}
}
},
"else": {"properties": {"unresolved": {"minItems": 1}}}
}],
"$defs": {"count": {"type": ["integer", "null"], "minimum": 0}}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |