Poll: VBA programming

+ Reply to Thread
Results 1 to 2 of 2

VBA program that regress 1000 times

  1. #1
    Registered User
    Join Date
    04-24-2016
    Location
    Hungary
    MS-Off Ver
    2009
    Posts
    1

    Post VBA program that regress 1000 times

    Hello dear forumers,
    I am quite new in VBA programming. And I faced a difficulty when I was making 1000 regression. What I want to do this following:
    Firstly, I want to choose random numbers (Y, X) from my datasets,
    Then regress the chosen random 2 series,
    After that I want to save the slope, intercept, t statistics of the each regression.
    Can you help me for this problem.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,609

    Re: VBA program that regress 1000 times

    Probably it is not really clear what you want to achieve and what is exactly your question
    Moreover - attaching a poll to it probably make it even foggier

    If you already have a workbook where you have all steps:
    - choose random numbers (Y, X) from my datasets,
    - regress the chosen random 2 series,
    -compute slope, intercept, t statistics of this regression.

    Then you can store it's results via simple loop in VBA.

    something like:
    Please Login or Register  to view this content.
    If that is not enough, attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window (or use the paperclip icon).
    Best Regards,

    Kaper

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA Program works some times and some times gives me a Run-time error '1004'?
    By redsab in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2014, 11:15 PM
  2. How to generate a random sample and repeat it 1000 times
    By random_Monkey in forum Excel General
    Replies: 4
    Last Post: 08-15-2013, 10:15 AM
  3. [SOLVED] Copy the following Formulae, 1000 times to the right!
    By stockgoblin42 in forum Excel General
    Replies: 3
    Last Post: 08-10-2012, 02:47 PM
  4. vba program - before and after times
    By quaye28 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-13-2011, 09:02 PM
  5. Excel VBA program times out
    By Zoomer36 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-21-2011, 12:49 PM
  6. Replies: 1
    Last Post: 07-09-2010, 11:39 AM
  7. cannot iterate random numbers 1000 times
    By jane657 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-30-2009, 04:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1