Stata 18 |link|

Whether you are a health economist analyzing clinical trial data, a political scientist working with complex survey data, or a financial analyst managing large panels, offers tools that promise to cut your processing time in half while increasing the depth of your insights.

Example:

python: import pandas as pd from sklearn.ensemble import RandomForestClassifier df = pd.DataFrame(StataData.get("auto")) model = RandomForestClassifier().fit(df[["mpg","weight"]], df["foreign"]) predictions = model.predict(...) StataData.set("predictions", predictions) end Conversely, in a Jupyter Notebook or Python script, you can initialize a Stata session: Stata 18