Skip to main content

Questions tagged [logarithm]

The logarithm of a number is the power to which the base must be raised to get the number.

1 vote
0 answers
18 views

Rescale measures of association for meta-analysis (e.g., log-transformed independent variables)

I am carrying out a meta-analysis of studies evaluating the association between blood levels of specific environmental pollutants and health outcomes (binary). Some studies reported OR/RR/HR for ...
msas's user avatar
  • 11
0 votes
0 answers
33 views

log transform left data in r

I am having trouble finding the transformation operation for left/negatively skewed data. The catch? All of my values are between 0 and 1. As such, trying the standard log10 transformation command ...
YouLocalRUser's user avatar
1 vote
0 answers
14 views

Rejection sampling method in tail of truncated exponential distribution (answered)

See edit below as question has been answered. I want to sample from an exponential distribution with parameter $\lambda>0$ truncated in the tail between $a>0$ and $b>0$, such that $b>a$, ...
CorrieElba's user avatar
3 votes
1 answer
186 views

Back Transforming log-log Model for Prediction

I have a model that is log-log and I would like to make raw predictions of $Y$ with it: $\ln(Y) = B_0 + B_1\ln(X)$ All answers and articles I have found concerning back transforming for prediction ...
Oberon Quinn's user avatar
2 votes
1 answer
79 views

How to do log subtract (just like logsumexp) with probabilities? [closed]

To subtract a small probability from another, this answer has constraint on log probabilities l1 > l2: Subtracting very small probabilities - How to compute? but I need a function that works for ...
monotonic's user avatar
  • 201
0 votes
0 answers
21 views

Interpreting log transformed variables in a regression [duplicate]

I am very confused about the interpretation of log transformed variables in a regression. For example, I have a log-level model with a B0=4.95 and B1=-1.07. So my model would be log(y)=4.95 - 1.07X. ...
mblume's user avatar
  • 101
3 votes
2 answers
322 views

Is the exponent of the MAD (Median Absolute Deviation) of log transformed Data measuring the relative distance from median in the untransformed data?

I want to confirm whether taking the Exponent of the MAD of Log Transformed Data gives me a measure of relative distance from median of the original untransformed data. So say I have a MAD of 0.2 for ...
Anon9001's user avatar
1 vote
1 answer
29 views

How to interpret a regression table with logged DVs?

I'm writing a research paper and am using R for my quantitative analysis. I'm using OLS regression and have needed to perform a log transformation on my dependent variables for linearity however I don'...
Bella's user avatar
  • 11
1 vote
1 answer
44 views

Can we find a variance formula in terms of the log of the density? ($f(t) = e^{u(t)}$, need variance in terms of $u$)

Given a density $f(t)$, say over $t\in \mathbb{R}^n$ absolutely continuous with Lebesgue measure. Write $u(t) = \log(f(t))$ taking values in $[-\infty, \infty)$ so $f = \exp(u)$. Can we find a general ...
travelingbones's user avatar
0 votes
1 answer
47 views

plotting log-transformed data, but running statistics on raw data?

I intend to compare differences between means of eight groups. The differences between some of the means are only visible when I plot (in a box plot) the log-transformed data. However, I am unsure as ...
Rikki Franklin Frederiksen's user avatar
1 vote
1 answer
86 views

Simple example of Log-Sum-Exp trick for continuous case

I am trying to confirm my understanding of how to apply the [Log-Sum-Exp trick to recover a posterior distribution from a log-posterior distribution. I want to consider a simple example from a model I ...
John Doe's user avatar
  • 195
0 votes
0 answers
27 views

Recovering normalized posterior distribution from log-posterior

For a Bayesian estimation problem that I am working on, where I update the log-posterior (many times based on data) instead of the posterior itself using Bayes rule. I find the following (rather ...
John Doe's user avatar
  • 195
1 vote
1 answer
35 views

Can log2 be substituted with ln in logDice association measure?

I am currently doing collocational analysis in the Russian National Corpus, to be precise the Russian national news subcorpus, to see what is the most significant collocates of the lemma "gay&...
pindakazen's user avatar
0 votes
0 answers
15 views

Is there a statistical reason why I have diagonal lines in log2FC correlation plots?

I have created a de novo RNA-seq assembly using Trinity with samples from 4 treatment groups and then ran a DEG analysis on each pairwise combination of the 4 groups. Then, I looked at how DEGs that ...
JanayF's user avatar
  • 1
2 votes
1 answer
175 views

How to determine the best fitted model by AIC between lm(y~x),lm(log(y)~x), drc(y~x) in R

...
user408308's user avatar
0 votes
0 answers
21 views

Optimal Conditional Distribution for Minimising Information-Theoretic Expression

Consider two countable sets $\mathcal{X}$ and $\mathcal{Y}$. I aim to find the conditional distribution $P_{Y|X}$ that minimizes the following expression for any $x \in \mathcal{X}$ $$\sum_y P_{Y|X}(y|...
pmoi's user avatar
  • 1
0 votes
0 answers
30 views

Adapting two-sample $t$-test of a ratio for log transformation

I have some data, belonging to paired groups $A,B$. From each group I get a non-negative statistic $d^A,d^B$ which is averaged on all samples in group. My interest is in the ratio $\frac{d^A}{d^B}$, i....
Spätzle's user avatar
  • 4,032
0 votes
0 answers
37 views

Log transformation uses

I am trying to understand how the migration of a male member affects the number of hours spent by left-behind women in various agricultural and non-agricultural activities. I used a simple OLS model ...
Sapna's user avatar
  • 1
0 votes
0 answers
17 views

Standard error calculation of intercept in logarithmic line equation?

I have a line equation log(y) = mlog(x) + log(c) for which I have plotted log(x) vs log(y) scatter plot using the given x and y values then performed linear regression to get best fit line. Using ...
Anirudh Kalyankar's user avatar
0 votes
0 answers
24 views

How to construct confidence intervals for difference of means in logs

I have estimated an OLS model and a Negative binomial model of ln housing search (ln S) per unit (for instance, the average number of visitors per house or bidders per house) as a function of ...
Mari Mamre's user avatar
0 votes
1 answer
59 views

Detrending and data transformation to logarithm can be done together?

I want to get the effect of bitcoin price changes on foreign currency price. The third variable is inflation, which is an explanatory variable. Should variables be detrended before regressing? Is it ...
user405402's user avatar
0 votes
0 answers
24 views

Do you need to exponentiate an inverse hyperbolic sine

I have the following model: Yi = β1 + εi whereby Y is the inverse hyperbolic sine of the proportion of i county that is under the poverty threshold and β1 is a binary treatment variable. If I end up ...
coinbase_wells's user avatar
1 vote
0 answers
72 views

Deriving the Exact Percentage Change Formula in Logarithmic Models

I have been studying the relationship between logarithmic changes and percentage changes in the context of regression analysis. I understand that when working with small changes, the change in the ...
Newbie's user avatar
  • 83
0 votes
1 answer
92 views

Conversion of log-transformed SD

In a meta-analysis of some research work, there are many situations in which the literature reported the mean values and their corresponding standard deviations in log-transformed forms. The question ...
Ahmed 's user avatar
0 votes
0 answers
19 views

Deriving log-likelihood contribution involving fixed effects (panel model)

I would appreciate some help with the following problem: We have the following panel model: $y_{it} = h(x_{it}\beta + c_i) + \epsilon_{it}, \quad t=1,\ldots,T, \quad i=1,\ldots,N $ where \begin{align*}...
TheSnailSurgeon's user avatar
2 votes
1 answer
31 views

Why use log per-million count when analyzing corpora?

This might be such a trivial question for you, but please bare with me as I don't have background in statistics. So I am curious about corpus linguistics, and especially in this case how corpora is ...
user avatar
9 votes
4 answers
915 views

An interesting observation regarding the log transformation of data

I stumbled upon something interesting while attempting to do a log transformation for some data (with zeros) today. It seems that there must be a good reason for this that I'm just not seeing. I'm ...
knrumsey's user avatar
  • 8,392
0 votes
0 answers
21 views

Can the Log of PR AUC curve plot be any useful?

I was doing some tests regarding my PR curve for 2 different models (first image), and I got the idea of ploting the log of those curves (second image) to see if there were any insights that I could ...
GabrielPast's user avatar
1 vote
0 answers
20 views

Applying Tangent Lines to Log-Scaled Data for Outlier Detection: Seeking Statistical Theories and Models

I've analyzed the view counts for a YouTube channel's videos (just for example), sorting them by views (on the left) and drawing a tangent line to approximate the central trend on a logarithmic scale (...
Andrew Anderson's user avatar
3 votes
2 answers
249 views

Diffrence in logs vs. a % changes in econometrics: why is the dif log approvimation almost always used when the exact quantity is easily available?

I have observed that in econometrics work people almost always use the difference in logs rather than the actual percentage change. This makes no sense to me. I understand that the difference in logs ...
andrewH's user avatar
  • 3,157

15 30 50 per page
1
2 3 4 5
23