Stata compatibility

Compatibility information updated 2026-08-03.

stats.camp implements a growing subset of the Stata command language in the browser. This page lists the commands known to the current parser and marks their implementation status, grouped by task. It is generated from the same command registry that powers the application, and an automated test keeps it in sync with the code.

Independent software. Not affiliated with, sponsored by, or endorsed by StataCorp LLC.

Supported means the common forms of the command work; option coverage can still be narrower than Stata’s. Partially supported commands have known gaps or use documented approximations, described in the notes. Planned commands are recognized by the parser but cannot be executed yet. Known unsupported commands and options are reported as errors rather than intentionally ignored. Consult this page before relying on a workflow. stats.camp independently implements a growing subset of Stata syntax; it does not implement the complete Stata language, all official features, or the community-contributed package ecosystem.

134 supported · 9 partially supported · 3 planned

Data loading & saving

CommandAbbreviationsStatusNotes
useSupportedLoads .dta files first, falling back to CSV, Excel, and Parquet.
saveSupported
importSupportedCovers import delimited (CSV) and import excel; also reads Parquet.
exportSupported
appendSupported
mergeSupported
joinbySupported
clearSupported
compressSupported
preserveSupported
restoreSupported

Data management

CommandAbbreviationsStatusNotes
generategen, gSupported
replaceSupported
egenSupported
dropSupported
keepSupported
renameSupported
orderSupported
sortSupported
gsortSupported
recodeSupported
recastSupported
destringSupported
tostringSupported
encodeSupported
decodeSupported
splitSupported
formatform, formaSupported
labelSupportedVariable and value labels.
mvdecodeSupported
mvencodeSupported
expandSupported
contractSupported
collapseSupported
reshapeSupportedWide-to-long and long-to-wide.
fillinSupported
duplicatesSupported
isidSupported
xtileSupported
assertSupported
confirmconfSupported

Exploring & describing

CommandAbbreviationsStatusNotes
describedescSupported
codebookSupported
inspectSupported
dsSupported
listlSupported
levelsofSupported
uniqueSupported
countSupported
summarizesumSupportedNotable options: detail.
meanSupported
tabulatetabSupportedOne- and two-way tables.
tabstatSupportedNotable options: statistics(), by(), format().
correlatecorrSupported
pwcorrSupported
spearmanSupported
ciSupported
ciiSupported

Hypothesis tests

CommandAbbreviationsStatusNotes
ttestSupportedNotable options: by(), unpaired, unequal, welch.
ttestiSupported
prtestSupported
prtestiSupported
sdtestSupported
sdtestiSupported
ztestiSupported
bitestiSupported
mcciSupported
signrankSupported
signtestSupported
ranksumSupported
kwallisSupported
medianSupported
ksmirnovSupported
sktestSupported
swilkSupported
sfranciaSupported
robvarSupported

Estimation

CommandAbbreviationsStatusNotes
regressregSupportedNotable options: robust, vce(). Includes factor variables (i.varname).
aregSupported
anovaSupported
boxcoxSupported
vwlsSupported
logitSupportedNotable options: robust, vce(), iterate(), tolerance().
logisticSupported
probitSupported
ologitSupported
oprobitSupported
mlogitSupported
poissonSupported
nbregSupported
zipSupported
zinbSupported
tobitSupported
intregSupported
glmSupported
binregSupported
fracregSupported
qregSupported
ivregressivregSupported
ivreg2Supported
suregSupported
heckmanPartially supportedTwo-step estimator (approximation); full maximum likelihood is not implemented.
ivprobitPartially supportedNewey two-step / control-function approximation.
ivtobitPartially supportedControl-function approximation.
xtlogitPartially supportedFixed-effects approximation.

Postestimation

CommandAbbreviationsStatusNotes
predictpredSupported
marginsPartially supportedAverage marginal effects; option coverage is narrower than Stata's margins.
testSupported
lincomSupported
nlcomSupported
estimatesestSupported
eststoSupported
esttabSupportedFrom the community estout package.
estoutSupportedFrom the community estout package.
coefplotSupportedFrom the community coefplot package.

Graphics

CommandAbbreviationsStatusNotes
histogramhistSupported
scatterSupported
lineSupported
kdensitySupported
binscatterSupportedFrom the community binscatter package.
twowayPartially supportedCommon layer types; not every Stata layer and option combination.
graphPartially supportedSubset of graph types; no graph-memory management (graph save/replay).

Time series & panels

CommandAbbreviationsStatusNotes
tssetSupported
xtsetSupported
tsfillSupported
forecastPlanned
irfPlanned
rollingPlanned

Programming & session

CommandAbbreviationsStatusNotes
displaydiSupported
localSupported
globalSupported
whileSupported
doSupportedRuns do-files stored in the project.
runruSupported
includeSupported
collectPartially supportedPrefix supported for a fixed set of r-class test commands.
helpSupported
setPartially supportedSubset of system parameters.
sleepSupported
logSupported
cmdlogSupported
cdchdirSupported
pwdSupported
lsdirSupported
mkdirSupported
putexcelSupported

Open app