Quantcast
Channel: The Stata Blog - Latest Comments
Viewing all 1129 articles
Browse latest View live

Re: Adding recession shading to time-series graphs

$
0
0

ich sehe, dass viel Arbeit in das Schreiben dieses großartigen Artikels gesteckt wurde. Sie haben es geschafft, viele Informationen an einem Ort zu sammeln. Es ist wie beim Schreiben dieses Beitrags, in dem top eleven cheats mit unendlich token platziert wurden. Ich denke, diese beiden Beiträge verdienen eine ähnliche Anerkennung für den Arbeitsaufwand.


Re: Stata/Python integration part 3: How to install Python packages

Re: Stata/Python integration part 1: Setting up Stata to use Python

$
0
0

Why under "Python system information" is the value of initialized "no"? After setting the Python executable, shouldn't it be "initialized"?

Re: Stata/Python integration part 1: Setting up Stata to use Python

$
0
0

Hi Lucas. How do you go about installing those packages? I currently point my Stata installation to my Anaconda Python, and it works great. Helpful because it already has packages like pandas and numpy, and if I ever need to install additional packages, I can install them from the Anaconda prompt and they're immediately available from within Stata on next restart.

Re: Stata/Python integration part 1: Setting up Stata to use Python

$
0
0

I use conda as well. python query returns the conda version of python installed on my machine (3.7.7). Running python with base commands works (print("Hello World")).

When I type: import fake_package as fp
I get the familiar: ModuleNotFoundError: No module named 'fake_package'

When I type: import pandas as pd, Stata shuts down immediately with no error message.

Re: Stata/Python integration part 1: Setting up Stata to use Python

$
0
0

Setting the Python executable does not initialize Python within Stata. The Python environment is initialized when you call it at the first time.

Re: Stata/Python integration part 1: Setting up Stata to use Python

$
0
0

Can you active your environment through conda and uninstall scipy to see whether the problem still happens? For example,

conda activate
pip uninstall scipy
pip install scipy

The above code will activate your base Python environment and uninstall and reinstall scipy. If you do not want to make change to your base environment, you can create a virtual environment through conda to check.

Re: Stata/Python integration part 1: Setting up Stata to use Python

$
0
0

What Stata flavor and platform are you using and what version of Python are you linking through Stata?


Re: How to read the %21x format, part 2

$
0
0

I think there may be two errata here (first code block after the hexadecimal table):


2.0 = 1.00000000000000000000000 * 2^0
2.5 = 1.01000000000000000000000 * 2^0

Shouldn't it be the following?


2.0 = 1.00000000000000000000000 * 2^1
2.5 = 1.01000000000000000000000 * 2^1

Re: Statalist

$
0
0

Hi, I want to gen new var from existing large size another string var, but i want to put condition that if string var first two digit is say 53 than gen var by having first four digit else by 2 digit. Is it possible?

Re: Statalist

$
0
0

how to know the length of the string variable?

Re: Understanding matrices intuitively, part 1

Re: Structural vector autoregression models

$
0
0

Thanks for the great post!

Does anyone know how to get the structural shocks ut from STATA? I'm currently stuck on this and really need help.

Thank you in advance!

Re: Stata support for Apple Silicon

$
0
0

Will Stata work with the new Apple Silicon chips as soon as they are released? The announcement is coming next week, and I will be upgrading my laptop immediately thereafter. Thanks for the prompt response!

Re: Stata support for Apple Silicon

$
0
0

Our current plan is to have a beta version of Stata 16 that's compatible with Apple Silicon available for download within a week or two of the announcement. This beta version will be avaible for free for Stata 16 users. We already have an Apple Silicon-compatible version of Stata running on an Apple Developer Transition Kit but we prefer testing it on a real Mac with Apple Silicon before making it officially available. However, we understand many will be anxious to try it which is why we're putting out an early beta. We will make an announcement on the Stata Blog after Apple's announcement.


Re: Stata support for Apple Silicon

$
0
0

It is not currently in our plans. The biggest hurdle is that iPad OS can kill your application at any time and Stata is just not written in a way that can handle that. Rewriting Stata to fit within the iPad model is a significant investment and there's no guarantee Apple would allow features integral to Stata like ado files, mata libraries, and user-written ado-files that can be remotely installed.

Re: Stata for Mac with Apple Silicon

$
0
0

Are there going to be differences between MP/2, MP/4, etc. for the apple silicon version?

Re: Stata for Mac with Apple Silicon

$
0
0

I don't understand the question. What do you mean by differences?

Re: Stata for Mac with Apple Silicon

$
0
0

Sorry! Awful working. I was wondering if Stata will offer the same license options for the M1, considering that it has a very unique architecture and the number of cores is fixed.

Re: Stata for Mac with Apple Silicon

$
0
0

Same question here: Will MP8 support the 8-Cores of the M1? Will there be a version that taps into the neural engine of the M1?

Viewing all 1129 articles
Browse latest View live