power-law Questions
2
Solved
I'm experimenting with fitting a power law to empirical data using the powerlaw module. I have created the following data that follows a power law distribution of exponent 2:
x = range(1,1000)
y =...
4
Solved
... help and online documentation say the function scipy.stats.pareto.fit takes as variables the dataset to be fitted, and optionally b (the exponent), loc, scale.
the result comes as triplet (expo...
2
Solved
I am considering the number of occurrence of unique words in the Moby Dick novel and using the powerlaw python package to fit words’ frequencies to a power law.
I am not sure why I can't recapitula...
Ronna asked 4/8, 2019 at 22:47
3
I am currently trying to find a way to calculate a power-law fit for a cut-off distribution with MLE. The distribution looks as follows:
As you can see, I was able to fit the whole distribution ...
Raynell asked 15/7, 2017 at 15:6
1
Solved
I have two data sets index_list and frequency_list which I plot in a loglog plot by plt.loglog(index_list, freq_list). Now I'm trying to fit a power law a*x^(-b) with linear regression. I expect th...
Public asked 29/9, 2020 at 15:30
2
Solved
I am trying to find a curve fitting my data that visually seem to have a power law distribution.
I hoped to utilize scipy.optimize.curve_fit, but no matter what function or data normalization I...
Millican asked 12/12, 2016 at 20:38
2
Solved
Suppose I'm fitting some data points by a simple linear regression. Now I'd like to perform several joint linear regressions for several sets of data points. More specifically, I want one parameter...
Earhart asked 11/12, 2018 at 16:44
1
Solved
I'm using Jeff Alstott's Python powerlaw package to try fitting my data to a Power Law. Jeff's package is based on the paper by Clauset et al which discusses the Powerlaw.
First, some details on m...
3
Solved
Hey there I'm working on a textgenerator, that should generate millions of different texts.
to make the content of each text realistic I used Zipf's Law
It is working well, the word distribution is...
Spiraea asked 24/11, 2014 at 13:10
4
Solved
I'm writing some tests for a C++ command line Linux app. I'd like to generate a bunch of integers with a power-law/long-tail distribution. Meaning, I get a some numbers very frequently but most of ...
1
I'm trying to fit some data to a power law using python. The problem is that some of my points are upper limits, which I don't know how to include in the fitting routine.
In the data, I have put t...
Mapes asked 19/10, 2017 at 14:44
4
Solved
I have the following list:
[6, 4, 0, 0, 0, 0, 0, 1, 3, 1, 0, 3, 3, 0, 0, 0, 0, 1, 1, 0, 0, 0, 3, 2, 3, 3, 2, 5, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 2, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 2, 0, 0, 0, ...
Filariasis asked 19/5, 2013 at 23:16
2
Solved
This problem is based on a puzzle by Joel Spolsky from 2001.
A guy "gets a job as a street painter, painting the dotted lines down the middle of the road." On the first day he finishes up...
Empurple asked 13/6, 2014 at 10:0
4
I'd like to combine a few metrics of nodes in a social network graph into a single value for rank ordering the nodes:
in_degree + betweenness_centrality = informal_power_index
The problem is tha...
Kraska asked 1/4, 2009 at 3:9
2
Solved
I want to carry out a linear regression in R for data in a normal and in a double logarithmic plot.
For normal data the dataset might be the follwing:
lin <- data.frame(x = c(0:6), y = c(0.3, ...
Finely asked 8/6, 2011 at 10:50
1
© 2022 - 2024 — McMap. All rights reserved.