distribution

Regression in Matlab assuming Student's t Distributed Error Terms

I see that it is possible to use regress/regstats for OLS, and I found an online implementation of L1-Regression (Laplace), but I can't quite seem to figure out how to implement t distributed error terms. I have tried maximizing the log-likelihood of the residuals, but don't seem to be coming up with the right answer. classdef student ...

PIP: Installing only the dependencies

I have a script that creates a virtualenv, installs distribute and pip in it and then optionally clones a git repo. Now I have the project I will be working on, installed. But its dependencies are not installed. How can I make pip install all the dependencies as if I have issued a pip install MyApp? EDIT: Appareantly my question is a d...

Generate random numbers following a normal distribution in C/C++

Does anyone know how I could easily generate random numbers following a normal distribution in C/C++ ? http://www.mathworks.com/access/helpdesk/help/toolbox/stats/normrnd.html I don't want to use any of Boost. I know that Knuth talk about this at length but I don't have his books at hands right know. Thanks, ...

VMWare Linux image with small footprint

I have an embedded system running on a Linux platform. What we want to do now is to test all applications running on a minimal Linux distro in a vmware environment. I try to find a very small footprint distribution which can be ran in VMWare. The requirements are really only to have the Linux distro without pretty much any servers since...

Cumulative Normal Distribution Function in C/C++

I was wondering if there were statistics functions built into math libraries that are part of the standard C++ libraries like cmath. If not, can you guys recommend a good stats library that would have a cumulative normal distribution function? Thanks in advance. More specifically, I am looking to use/create a cumulative distribution fun...

What is a good solution for distributing image files, daily, across multiple platforms?

Sorry for the crappy title. I have a repository of product images (approximately 55,000 and growing by about 1000 a year) that changes daily (up to 100 images added, modified and/or deleted every day). I need three people to have access to making the above changes (so they can read/write to the directories). They will all be using wind...

iPhone Tableview doesn't work for Apple testers

My application has been rejected because the application did not function when reviewed by the iPhone App Review Team. The application is supposed to load words into a table view, but did not do so during the review. However, the application functions perfectly on my iPhone. Can you please give me any suggestions as to why an application...

Java distribuion as jar file containg config, libs and deps

Hi folks, I am developing a framework that needs a lot of stuff to get working. I have several folders inside of my Eclipse project that are needed [root] - config - src - lib - serialized Also there are important files like the log4j.properties and the META-INF dir inside the src directory. I wonder if there is a way to distribute o...

Beautiful, meaningful numbers in arbitrary distributions (e.g. bar charts)

Hi, How-Not-To: http://yfrog.com/0kqvap The chart show way too many decimal places. how would solve this problem, or are there any solutions/approaches available? I'd straight forward calculate the needed decimals to be able to distinguish two neighboring values. It does not necessarily have to be percentages. It can also be time e.g....

Reconfigure publishing and distribution in SQL Server for changed Hostname

I have SQL Server 2005 running on a development machine that is administered by people rather far away, metaphorically speaking. They decided it would be fun to change the Network Name/Computer Name/Hostname in command prompt of this machine from "OldName" to "NewName". SQL Server was installed and distribution and publishing set up un...

Java: How to determine programmatically that a dataset doesn't follow a normal distribution?

In a Java program, how can I determine if a dataset I have is following or not a normal distribution? Is it possible? Is there an API or an algorithm that I can use that determines this? ...

iPhone Distribution Build Out of memory failure?

I keep getting an out of memory failure when I try to do the distribution build of my app. The app only gets up to a max of 12 megs of real memory when testing it in Instruments. Why is this happening? My app folder is only 18 megs without the build folder in it. Turns to 80 megs with the build folder. But this doesn't seem like a l...

ad hoc distribution vs app store distribution.

i want to distribute my app to our few company employees. but when i tried to create ad hoc distribution profile ,it requires device ID for every single device that i want to install my app. it is not possible for me to get IDs.and i am not sure app store distribution actually submits my app for approval (i am not ready for approval yet)...

How to compile gettext translations in setup.py of a Django app

How can I make sure setup.py compiles projects PO files and include them whenever an sdist is created. This is a Django app and manual process to generate MO files is to run following command in the app's root directory: django-admin compilemessages (This means going one level deeper than setup.py) I would like to avoid manually comp...

Good way to flatten a multiple file python program for distribution?

I am writing a console application in python that will consist of a handful of modules, each with a couple hundred lines of code. For development it would be nice to modularize the program, but for distribution I like the idea of being able to post the program as a single python script. Are there any good scripts out there for flatteni...

There's a way to avoid AppleStore?

Hi, i need to develop an iPhone application that is a Client of serverside application. This application is not for customer but for sell agents. I know that if i try to send to Apple to put on Apple Store they reject it because the application have no sense for Apple Store. The company is small so i can't use the Enterprise program. The...

How to create an application which embeds and runs Python code without local Python installation?

Hello fellow software developers. I want to distribute a C program which is scriptable by embedding the Python interpreter. The C program uses Py_Initialize, PyImport_Import and so on to accomplish Python embedding. I'm looking for a solution where I distribute only the following components: my program executable and its libraries ...

How does Android Market secure my application against distribution?

Up to now, I've only distributed a few apps by sending .apk files around. I was wondering how Android Market prevents users from distributing a paid application to other people. ...

Distributing IronPython applications

I'm thinking of developing a small application using IronPython, however I want to distribute my app to non-techies and so ideally I want to be able to give them a standard shortcut to my application along with the instructions that they need to install IronPython first. If possible I even want my shortcut to detect if IronPython is not...

Some approaches to distribute an iPhone application to run in a specific location

My boss wants to distribute the application for a specific client, whose number of employees is around 500. The application uses webservices and the UDID of the device to restrict the other users from accessing the software. We are not a big company that can register for the enterprise program, and especially my boss does not want other ...