statistics

How to use scale and shape parameters of gamma GLM in statsmodels

别来无恙 提交于 2020-12-12 06:15:08
问题 The task I have data that looks like this: I want to fit a generalized linear model (glm) to this from a gamma family using statsmodels . Using this model, for each of my observations I want to calculate the probability of observing a value that is smaller than (or equal to) that value. In other words I want to calculate: P(y <= y_i | x_i) My questions How do I get the shape and scale parameters from the fitted glm in statsmodels ? According to this question the scale parameter in statsmodels

How to find periodic interval and periodic mean through Von mises distribution?

扶醉桌前 提交于 2020-12-07 04:46:00
问题 I have some data of time (hours of the day). I would like to fit a von mises distribution to this data, and find the periodic mean. How do I do this using scipy in python ? for example : from scipy.stats import vonmises data = [1, 2, 22, 23] A = vonmises.fit(data) I am not sure how do I get the distribution (interval probably) and periodic mean of this data using fit or mean or interval methods. 回答1: Good job on finding the VM distribution. That's half of the battle. But unless I'm mistaken

How to find periodic interval and periodic mean through Von mises distribution?

蓝咒 提交于 2020-12-07 04:45:29
问题 I have some data of time (hours of the day). I would like to fit a von mises distribution to this data, and find the periodic mean. How do I do this using scipy in python ? for example : from scipy.stats import vonmises data = [1, 2, 22, 23] A = vonmises.fit(data) I am not sure how do I get the distribution (interval probably) and periodic mean of this data using fit or mean or interval methods. 回答1: Good job on finding the VM distribution. That's half of the battle. But unless I'm mistaken

Statistics help for computer vision

风流意气都作罢 提交于 2020-12-06 11:50:34
问题 I am doing my graduation project in the field of computer vision, and i have only taken one course in statistics that discussed very basic concepts, and now i am facing more difficulty in rather advanced topics, so i need help (book, tutorial, course, ..etc) to grasp and review the basic ideas and concepts in statistics and then dive into the details ( statistical details ) used in computer vision. 回答1: I assume you want something around the pattern recognition and machine learning fields. If

Statistics help for computer vision

雨燕双飞 提交于 2020-12-06 11:49:27
问题 I am doing my graduation project in the field of computer vision, and i have only taken one course in statistics that discussed very basic concepts, and now i am facing more difficulty in rather advanced topics, so i need help (book, tutorial, course, ..etc) to grasp and review the basic ideas and concepts in statistics and then dive into the details ( statistical details ) used in computer vision. 回答1: I assume you want something around the pattern recognition and machine learning fields. If

Statistics help for computer vision

点点圈 提交于 2020-12-06 11:49:07
问题 I am doing my graduation project in the field of computer vision, and i have only taken one course in statistics that discussed very basic concepts, and now i am facing more difficulty in rather advanced topics, so i need help (book, tutorial, course, ..etc) to grasp and review the basic ideas and concepts in statistics and then dive into the details ( statistical details ) used in computer vision. 回答1: I assume you want something around the pattern recognition and machine learning fields. If

Mean square displacement python

半腔热情 提交于 2020-11-29 10:46:28
问题 I have a trajectory file from simulation of 20,000 frames with 5 ps time in between every frame, what I want to do is to calculate diffusion in 2 dimension (x and y axis). but to calculate diffusion in 2D, first I have to calculate Mean square displacement of the molecule under study. MSD calculates the average time taken by molecule to explore the system in random walks. I am very new to python programming and I would really want some help to get started this problem and to solve this

How logical negation operator “!” works

孤街浪徒 提交于 2020-11-28 04:45:45
问题 I am not trying to solve any particular problem, but trying to learn R and understand its logical negation operator "!" documented on page http://stat.ethz.ch/R-manual/R-devel/library/base/html/Logic.html It works for me when used in combination with =, in expressions such as: 1 != 2 TRUE But I can't quite comprehend standalone application of this operator. For instance, can I use it to select elements of the list which do not have specific name. Here's my attempt to do that, but it did not