You can include a command like this in your syntax before the analysis: 

SET FORMAT F12.6.

which will make the default numeric format 12 columns with six decimals.
If you know the whole number will be small, you could use a format like
F8.5. The PSPP manual says:

> FORMAT
> Allows the default numeric input/output format to be specified. The
> default is F8.2. See Input and Output Formats.

https://www.gnu.org/software/pspp/manual/html_node/SET.html

The formats are described here: 
https://www.gnu.org/software/pspp/manual/html_node/Input-and-Output-Formats.html

-Alan


On 3/13/2021 5:15 PM, Ricardo Mejias wrote:
> I have started running regression equations and found that their
> coefficient and other outputs only have two digits beyond the decimal
> point.  This is a serious problem since often regression coefficients
> are zeroes for the first two digits beyond the decimal point, so none
> of their other numbers show up.  This happens when independent
> variables are on a much bigger scale than the dependent variable,
> particularly with logistic regression (since the dependent variable is
> 1 or 0).
>
> I could not find anywhere on PSP User Guide how to control the format
> of numbers on the regression outputs.  I tried formatting the numbers
> in the data that goes into the regression programs with more digits to
> the right of the decimal point, but that did not change anything.
>
> Is there a way to increase the number of digits to the right of the
> decimal point on the regression outputs? 
>

-- 

Alan D. Mead, Ph.D.
President, Talent Algorithms Inc.

science + technology = better workers

http://www.alanmead.org

The irony of this ... is that the Internet is
both almost-infinitely expandable, while at the
same time constrained within its own pre-defined
box. And if that makes no sense to you, just
reflect on the existence of Facebook. We have
the vastness of the internet and yet billions
of people decided to spend most of them time
within a horribly designed, fake-news emporium
of a website that sucks every possible piece of
personal information out of you so it can sell it
to others. And they see nothing wrong with that.

-- Kieren McCarthy, commenting on why we are not 
                    all using IPv6

Reply via email to